[][src]Struct letterboxd::List

pub struct List {
    pub id: String,
    pub name: String,
    pub film_count: usize,
    pub published: bool,
    pub ranked: bool,
    pub has_entries_with_notes: bool,
    pub description_lbml: Option<String>,
    pub tags2: Vec<Tag>,
    pub can_share_on: Option<Vec<ThirdPartyService>>,
    pub shared_on: Option<Vec<ThirdPartyService>>,
    pub when_created: String,
    pub when_published: Option<String>,
    pub owner: MemberSummary,
    pub cloned_from: Option<ListIdentifier>,
    pub preview_entries: Vec<ListEntrySummary>,
    pub links: Vec<Link>,
    pub description: Option<String>,
}

Fields

id: String

The LID of the list.

name: String

The name of the list.

film_count: usize

The number of films in the list.

published: bool

Will be true if the owner has elected to publish the list for other members to see.

ranked: bool

Will be true if the owner has elected to make this a ranked list.

has_entries_with_notes: bool

Will be true if the owner has added notes to any entries.

description_lbml: Option<String>

The list description in LBML. May contain the following HTML tags: <br> <strong> <em> <b> <i> <a href=""> <blockquote>.

tags2: Vec<Tag>

The tags for the list.

can_share_on: Option<Vec<ThirdPartyService>>

The third-party service or services to which this list can be shared. Only included if the authenticated member is the list’s owner.

shared_on: Option<Vec<ThirdPartyService>>

The third-party service or services to which this list has been shared. Only included if the authenticated member is the list’s owner.

when_created: String

ISO 8601 format with UTC timezone, i.e. YYYY-MM-DDThh:mm:ssZ "1997-08-29T07:14:00Z"

when_published: Option<String>

ISO 8601 format with UTC timezone, i.e. YYYY-MM-DDThh:mm:ssZ "1997-08-29T07:14:00Z"

owner: MemberSummary

The member who owns the list.

cloned_from: Option<ListIdentifier>

The list this was cloned from, if applicable.

preview_entries: Vec<ListEntrySummary>

The first 12 entries in the list. To fetch more than 12 entries, and to fetch the entry notes, use the /list/{id}/entries endpoint.

links: Vec<Link>

A list of relevant URLs to this entity, on Letterboxd and external sites.

description: Option<String>

The list description formatted as HTML.

Trait Implementations

impl Clone for List[src]

impl Debug for List[src]

impl<'de> Deserialize<'de> for List[src]

Auto Trait Implementations

impl RefUnwindSafe for List

impl Send for List

impl Sync for List

impl Unpin for List

impl UnwindSafe for List

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,