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: u32
url: String
imdb_code: String
title: String
title_english: String
title_long: String
slug: String
year: u32
rating: f32
runtime: u32
genres: Vec<String>
summary: String
description_full: String
synopsis: String
yt_trailer_code: String
language: String
mpa_rating: String
background_image: String
background_image_original: String
small_cover_image: String
medium_cover_image: String
large_cover_image: String
state: Status
torrents: Vec<Torrent>
date_uploaded: String
date_uploaded_unix: u64
Trait 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 = T
The 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>,