pub struct ContactLabelUpdate {
pub is_default: bool,
pub name: String,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Expand description
Replacement values for an existing contact label.
Fields§
§is_default: boolWhether this label is preferred for new email addresses. Setting true unsets an existing default label.
name: StringUnique contact-label name.
sort_key: i64Display-order value.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ContactLabelUpdate
impl Clone for ContactLabelUpdate
Source§impl Debug for ContactLabelUpdate
impl Debug for ContactLabelUpdate
Source§impl Default for ContactLabelUpdate
impl Default for ContactLabelUpdate
Source§impl<'de> Deserialize<'de> for ContactLabelUpdate
impl<'de> Deserialize<'de> for ContactLabelUpdate
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
Source§impl PartialEq for ContactLabelUpdate
impl PartialEq for ContactLabelUpdate
Source§impl Serialize for ContactLabelUpdate
impl Serialize for ContactLabelUpdate
impl StructuralPartialEq for ContactLabelUpdate
Auto Trait Implementations§
impl Freeze for ContactLabelUpdate
impl RefUnwindSafe for ContactLabelUpdate
impl Send for ContactLabelUpdate
impl Sync for ContactLabelUpdate
impl Unpin for ContactLabelUpdate
impl UnsafeUnpin for ContactLabelUpdate
impl UnwindSafe for ContactLabelUpdate
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