pub struct UpdateList {
pub name: Option<String>,
pub description: Option<String>,
pub icon_seed: Option<String>,
}Expand description
Partial body for updating a contact list. Defaults to all-unset.
Fields§
§name: Option<String>New name.
description: Option<String>New description.
icon_seed: Option<String>New avatar seed (serialized as icon_seed).
Implementations§
Trait Implementations§
Source§impl Clone for UpdateList
impl Clone for UpdateList
Source§fn clone(&self) -> UpdateList
fn clone(&self) -> UpdateList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateList
impl Debug for UpdateList
Source§impl Default for UpdateList
impl Default for UpdateList
Source§fn default() -> UpdateList
fn default() -> UpdateList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateList
impl RefUnwindSafe for UpdateList
impl Send for UpdateList
impl Sync for UpdateList
impl Unpin for UpdateList
impl UnsafeUnpin for UpdateList
impl UnwindSafe for UpdateList
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