Struct letterboxd::FilmSummary
source · pub struct FilmSummary {
pub id: String,
pub name: String,
pub original_name: Option<String>,
pub alternative_names: Option<Vec<String>>,
pub release_year: Option<u16>,
pub directors: Vec<ContributorSummary>,
pub poster: Option<Image>,
pub relationships: Vec<MemberFilmRelationship>,
}
Fields§
§id: String
The LID of the film.
name: String
The title of the film.
original_name: Option<String>
The original title of the film, if it was first released with a non-English title.
alternative_names: Option<Vec<String>>
The other names by which the film is known (including alternative titles and/or foreign translations).
release_year: Option<u16>
The year in which the film was first released.
directors: Vec<ContributorSummary>
The list of directors for the film.
poster: Option<Image>
The film’s poster image (2:3 ratio in multiple sizes).
relationships: Vec<MemberFilmRelationship>
Relationships to the film for the authenticated member (if any) and other members where relevant.
Trait Implementations§
source§impl Clone for FilmSummary
impl Clone for FilmSummary
source§fn clone(&self) -> FilmSummary
fn clone(&self) -> FilmSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FilmSummary
impl Debug for FilmSummary
source§impl<'de> Deserialize<'de> for FilmSummary
impl<'de> Deserialize<'de> for FilmSummary
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
Auto Trait Implementations§
impl Freeze for FilmSummary
impl RefUnwindSafe for FilmSummary
impl Send for FilmSummary
impl Sync for FilmSummary
impl Unpin for FilmSummary
impl UnwindSafe for FilmSummary
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