Struct letterboxd::ListUpdateEntry
source · 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.
Implementations§
source§impl ListUpdateEntry
impl ListUpdateEntry
pub fn new(film: String) -> ListUpdateEntry
Trait Implementations§
source§impl Clone for ListUpdateEntry
impl Clone for ListUpdateEntry
source§fn clone(&self) -> ListUpdateEntry
fn clone(&self) -> ListUpdateEntry
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 ListUpdateEntry
impl Debug for ListUpdateEntry
source§impl<'de> Deserialize<'de> for ListUpdateEntry
impl<'de> Deserialize<'de> for ListUpdateEntry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ListUpdateEntry
impl RefUnwindSafe for ListUpdateEntry
impl Send for ListUpdateEntry
impl Sync for ListUpdateEntry
impl Unpin for ListUpdateEntry
impl UnwindSafe for ListUpdateEntry
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