Struct yts_api::Movie [−][src]
pub struct Movie {Show fields
pub id: u32,
pub url: String,
pub imdb_code: String,
pub title: String,
pub title_english: String,
pub title_long: String,
pub slug: String,
pub year: u32,
pub rating: f32,
pub runtime: u32,
pub genres: Vec<String>,
pub summary: String,
pub description_full: String,
pub synopsis: String,
pub yt_trailer_code: String,
pub language: String,
pub mpa_rating: String,
pub background_image: String,
pub background_image_original: String,
pub small_cover_image: String,
pub medium_cover_image: String,
pub large_cover_image: String,
pub state: Status,
pub torrents: Vec<Torrent>,
pub date_uploaded: String,
pub date_uploaded_unix: u64,
}Fields
id: u32url: Stringimdb_code: Stringtitle: Stringtitle_english: Stringtitle_long: Stringslug: Stringyear: u32rating: f32runtime: u32genres: Vec<String>summary: Stringdescription_full: Stringsynopsis: Stringyt_trailer_code: Stringlanguage: Stringmpa_rating: Stringbackground_image: Stringbackground_image_original: Stringsmall_cover_image: Stringmedium_cover_image: Stringlarge_cover_image: Stringstate: Statustorrents: Vec<Torrent>date_uploaded: Stringdate_uploaded_unix: u64Trait Implementations
impl<'de> Deserialize<'de> for Movie[src]
impl<'de> Deserialize<'de> for Movie[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Movie[src]
Auto Trait Implementations
impl RefUnwindSafe for Movie
impl Send for Movie
impl Sync for Movie
impl Unpin for Movie
impl UnwindSafe for Movie
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,