pub struct PlaylistContent {
pub variant: ContentType,
pub items: Vec<MediaItem>,
pub offset: Option<u64>,
pub volume: Option<f64>,
pub speed: Option<f64>,
pub forward_cache: Option<u64>,
pub backward_cache: Option<u64>,
pub metadata: Option<MetadataObject>,
}Fields§
§variant: ContentType§items: Vec<MediaItem>§offset: Option<u64>Start position of the first item to play from the playlist
volume: Option<f64>The desired volume (0-1)
speed: Option<f64>The factor to multiply playback speed by (defaults to 1.0)
forward_cache: Option<u64>Count of media items should be pre-loaded forward from the current view index
backward_cache: Option<u64>Count of media items should be pre-loaded backward from the current view index
metadata: Option<MetadataObject>Trait Implementations§
Source§impl Debug for PlaylistContent
impl Debug for PlaylistContent
Source§impl Default for PlaylistContent
impl Default for PlaylistContent
Source§fn default() -> PlaylistContent
fn default() -> PlaylistContent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlaylistContent
impl RefUnwindSafe for PlaylistContent
impl Send for PlaylistContent
impl Sync for PlaylistContent
impl Unpin for PlaylistContent
impl UnwindSafe for PlaylistContent
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