Struct letterboxd::ListUpdateRequest
source · 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).
Implementations§
source§impl ListUpdateRequest
impl ListUpdateRequest
pub fn new(name: String) -> ListUpdateRequest
Trait Implementations§
source§impl Clone for ListUpdateRequest
impl Clone for ListUpdateRequest
source§fn clone(&self) -> ListUpdateRequest
fn clone(&self) -> ListUpdateRequest
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 ListUpdateRequest
impl Debug for ListUpdateRequest
Auto Trait Implementations§
impl Freeze for ListUpdateRequest
impl RefUnwindSafe for ListUpdateRequest
impl Send for ListUpdateRequest
impl Sync for ListUpdateRequest
impl Unpin for ListUpdateRequest
impl UnwindSafe for ListUpdateRequest
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