Struct stremio_core::models::player::Player
source · pub struct Player {Show 20 fields
pub selected: Option<Selected>,
pub video_params: Option<VideoParams>,
pub meta_item: Option<ResourceLoadable<MetaItem>>,
pub subtitles: Vec<ResourceLoadable<Vec<Subtitles>>>,
pub next_video: Option<Video>,
pub next_streams: Option<ResourceLoadable<Vec<Stream>>>,
pub next_stream: Option<Stream>,
pub series_info: Option<SeriesInfo>,
pub library_item: Option<LibraryItem>,
pub stream_state: Option<StreamItemState>,
pub intro_outro: Option<IntroOutro>,
pub watched: Option<WatchedBitField>,
pub analytics_context: Option<AnalyticsContext>,
pub load_time: Option<DateTime<Utc>>,
pub push_library_item_time: DateTime<Utc>,
pub loaded: bool,
pub ended: bool,
pub paused: Option<bool>,
pub seek_history: Vec<SeekLog>,
pub skip_gaps: Option<(SkipGapsRequest, Loadable<SkipGapsResponse, CtxError>)>,
}
Fields§
§selected: Option<Selected>
§video_params: Option<VideoParams>
§meta_item: Option<ResourceLoadable<MetaItem>>
§subtitles: Vec<ResourceLoadable<Vec<Subtitles>>>
§next_video: Option<Video>
§next_streams: Option<ResourceLoadable<Vec<Stream>>>
§next_stream: Option<Stream>
§series_info: Option<SeriesInfo>
§library_item: Option<LibraryItem>
§stream_state: Option<StreamItemState>
§intro_outro: Option<IntroOutro>
§watched: Option<WatchedBitField>
§analytics_context: Option<AnalyticsContext>
§load_time: Option<DateTime<Utc>>
§push_library_item_time: DateTime<Utc>
§loaded: bool
§ended: bool
§paused: Option<bool>
§seek_history: Vec<SeekLog>
§skip_gaps: Option<(SkipGapsRequest, Loadable<SkipGapsResponse, CtxError>)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)