Struct letterboxd::FilmRelationship
source · pub struct FilmRelationship {
pub watched: bool,
pub liked: bool,
pub favorited: bool,
pub in_watchlist: bool,
pub rating: Option<f32>,
pub reviews: Vec<String>,
pub diary_entries: Vec<String>,
}
Fields§
§watched: bool
Will be true if the member has indicated they’ve seen the film (via the ‘eye’ icon) or has a log entry for the film.
liked: bool
Will be true if the member likes the film (via the ‘heart’ icon).
favorited: bool
Will be true if the member listed the film as one of their four favorites.
in_watchlist: bool
Will be true if the film is in the member’s watchlist.
rating: Option<f32>
The member’s rating for the film.
reviews: Vec<String>
A list of LIDs for reviews the member has written for the film in the order they were added, with most recent reviews first.
diary_entries: Vec<String>
A list of LIDs for log entries the member has added for the film in diary order, with most recent entries first.
Trait Implementations§
source§impl Clone for FilmRelationship
impl Clone for FilmRelationship
source§fn clone(&self) -> FilmRelationship
fn clone(&self) -> FilmRelationship
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 FilmRelationship
impl Debug for FilmRelationship
source§impl<'de> Deserialize<'de> for FilmRelationship
impl<'de> Deserialize<'de> for FilmRelationship
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 FilmRelationship
impl RefUnwindSafe for FilmRelationship
impl Send for FilmRelationship
impl Sync for FilmRelationship
impl Unpin for FilmRelationship
impl UnwindSafe for FilmRelationship
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