pub struct Movie {
pub id: MediaId,
pub title: String,
pub year: Option<u16>,
pub release_date: Option<CalendarDate>,
pub summary: Option<String>,
pub content_rating: Option<String>,
pub duration: Option<Duration>,
pub cast: Vec<CastMember>,
pub artwork: Vec<Artwork>,
pub playback: PlaybackState,
}Fields§
§id: MediaId§title: String§year: Option<u16>The year it came out: the catalog’s own, else release_date’s.
release_date: Option<CalendarDate>The day it came out, "YYYY-MM-DD".
This and cast are read as None and no one when left out, though
every server sends them: the SDK keeps an item with its download,
and a download kept by an older SDK lacks the keys.
summary: Option<String>§content_rating: Option<String>The age rating as the catalog has it (“R”, “TV-MA”), shown as
is; None when it has none.
duration: Option<Duration>§cast: Vec<CastMember>Who is in it and who directed it (see CastMember).
artwork: Vec<Artwork>§playback: PlaybackStateTrait Implementations§
Source§impl<'de> Deserialize<'de> for Movie
impl<'de> Deserialize<'de> for Movie
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Movie
impl StructuralPartialEq for Movie
Auto Trait Implementations§
impl Freeze for Movie
impl RefUnwindSafe for Movie
impl Send for Movie
impl Sync for Movie
impl Unpin for Movie
impl UnsafeUnpin for Movie
impl UnwindSafe for Movie
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