Struct letterboxd::ListUpdateEntry
[−]
[src]
pub struct ListUpdateEntry { pub film: String, pub rank: Option<usize>, pub notes: Option<String>, pub contains_spoilers: Option<bool>, }
Fields
film: String
The LID of the film.
rank: Option<usize>
The entry’s rank in the list, numbered from 1. If not set, the entry will stay in the same place (if already in the list) or be appended to the end of the list (if not in the list). If set, any entries at or after this position will be incremented by one. Sending two or more ListUpdateEntrys with the same rank will return an error.
notes: Option<String>
The notes for the list entry 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.
contains_spoilers: Option<bool>
Set to true if the member has indicated that the notes field contains plot spoilers for the film.
Methods
impl ListUpdateEntry
[src]
fn new(film: String) -> ListUpdateEntry
[src]
Trait Implementations
impl Debug for ListUpdateEntry
[src]
impl Clone for ListUpdateEntry
[src]
fn clone(&self) -> ListUpdateEntry
[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