Struct stremio_core::deep_links::StreamDeepLinks
source · pub struct StreamDeepLinks {
pub player: String,
pub external_player: ExternalPlayerLink,
}
Fields§
§player: String
§external_player: ExternalPlayerLink
Trait Implementations§
source§impl From<(&Stream, &Option<Url>, &Settings)> for StreamDeepLinks
impl From<(&Stream, &Option<Url>, &Settings)> for StreamDeepLinks
source§fn from(
(stream, streaming_server_url, settings): (&Stream, &Option<Url>, &Settings),
) -> Self
fn from( (stream, streaming_server_url, settings): (&Stream, &Option<Url>, &Settings), ) -> Self
Create a StreamDeepLinks
using the Stream
,
the server url (from StreamingServer::base_url
which indicates a running or not server)
and the user’s Settings
in order to use the Settings::player_type
for generating a
player-specific url.
source§impl From<(&Stream, &ResourceRequest, &ResourceRequest, &Option<Url>, &Settings)> for StreamDeepLinks
impl From<(&Stream, &ResourceRequest, &ResourceRequest, &Option<Url>, &Settings)> for StreamDeepLinks
source§fn from(
(stream, stream_request, meta_request, streaming_server_url, settings): (&Stream, &ResourceRequest, &ResourceRequest, &Option<Url>, &Settings),
) -> Self
fn from( (stream, stream_request, meta_request, streaming_server_url, settings): (&Stream, &ResourceRequest, &ResourceRequest, &Option<Url>, &Settings), ) -> Self
Create a StreamDeepLinks
using the Stream
, stream request, meta request,
the server url (from StreamingServer::base_url
which indicates a running or not server)
and the user’s Settings
in order to use the Settings::player_type
for generating a
player-specific url.
Auto Trait Implementations§
impl Freeze for StreamDeepLinks
impl RefUnwindSafe for StreamDeepLinks
impl Send for StreamDeepLinks
impl Sync for StreamDeepLinks
impl Unpin for StreamDeepLinks
impl UnwindSafe for StreamDeepLinks
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more