pub struct JmapAddressBookUpdate {
pub name: Option<String>,
pub description: Option<String>,
pub sort_order: Option<u32>,
pub is_subscribed: Option<bool>,
pub share_with: Option<BTreeMap<String, JmapAddressBookRights>>,
}Expand description
Patch object for AddressBook/set update requests (RFC 8620 §5.3): only
Some fields are serialised.
Fields§
§name: Option<String>The user-visible address book name.
description: Option<String>Optional long-form description.
sort_order: Option<u32>Position hint for display ordering (lower first).
is_subscribed: Option<bool>Whether the user is subscribed to the address book.
Principal id to rights map (RFC 9670).
Trait Implementations§
Source§impl Clone for JmapAddressBookUpdate
impl Clone for JmapAddressBookUpdate
Source§fn clone(&self) -> JmapAddressBookUpdate
fn clone(&self) -> JmapAddressBookUpdate
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 JmapAddressBookUpdate
impl Debug for JmapAddressBookUpdate
Source§impl Default for JmapAddressBookUpdate
impl Default for JmapAddressBookUpdate
Source§fn default() -> JmapAddressBookUpdate
fn default() -> JmapAddressBookUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapAddressBookUpdate
impl RefUnwindSafe for JmapAddressBookUpdate
impl Send for JmapAddressBookUpdate
impl Sync for JmapAddressBookUpdate
impl Unpin for JmapAddressBookUpdate
impl UnsafeUnpin for JmapAddressBookUpdate
impl UnwindSafe for JmapAddressBookUpdate
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