pub struct CreateList {
pub name: String,
pub description: Option<String>,
pub icon_seed: Option<String>,
}Expand description
Body for creating a contact list. Build with CreateList::new.
Fields§
§name: StringList name (required).
description: Option<String>Optional description.
icon_seed: Option<String>Avatar seed (serialized as icon_seed).
Implementations§
Trait Implementations§
Source§impl Clone for CreateList
impl Clone for CreateList
Source§fn clone(&self) -> CreateList
fn clone(&self) -> CreateList
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 CreateList
impl Debug for CreateList
Source§impl Default for CreateList
impl Default for CreateList
Source§fn default() -> CreateList
fn default() -> CreateList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateList
impl RefUnwindSafe for CreateList
impl Send for CreateList
impl Sync for CreateList
impl Unpin for CreateList
impl UnsafeUnpin for CreateList
impl UnwindSafe for CreateList
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