Struct letterboxd::ListUpdateRequest
[−]
[src]
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.
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.
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]
fn new(name: String) -> ListUpdateRequest
[src]
Trait Implementations
impl Debug for ListUpdateRequest
[src]
impl Clone for ListUpdateRequest
[src]
fn clone(&self) -> ListUpdateRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more