[][src]Struct letterboxd::ListUpdateRequest

pub struct ListUpdateRequest {
    pub published: Option<bool>,
    pub name: String,
    pub ranked: Option<bool>,
    pub description: Option<String>,
    pub tags: Vec<String>,
    pub films_to_remove: Vec<String>,
    pub entries: Vec<ListUpdateEntry>,
    pub share: Vec<ThirdPartyService>,
}

Fields

published: Option<bool>

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

name: String

The name of the list.

ranked: Option<bool>

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

description: Option<String>

The list description in LBML. May contain the following HTML tags: <br> <strong> <em> <b> <i> <a href=""> <blockquote>. This field has a maximum size of 100,000 characters.

tags: Vec<String>

The tags for the list.

films_to_remove: Vec<String>

Specify the LIDs of films to be removed from the list.

entries: Vec<ListUpdateEntry>

The specified entries will be inserted/appended to the list if they are not already present, or updated if they are present.

share: Vec<ThirdPartyService>

The third-party service or services to which this list should be shared. Valid options are found in the ListRelationship (see the /list/{id}/me endpoint).

Methods

impl ListUpdateRequest[src]

Trait Implementations

impl Clone for ListUpdateRequest[src]

impl Debug for ListUpdateRequest[src]

impl Serialize for ListUpdateRequest[src]

Auto Trait Implementations

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> 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>,