pub struct JmapContactsCapability {
pub max_address_books_per_card: Option<u64>,
pub may_create_address_book: bool,
}Expand description
Value of the contacts capability in an account’s accountCapabilities
property (RFC 9610 §1.4.1).
Fields§
§max_address_books_per_card: Option<u64>Max number of AddressBooks assignable to a single ContactCard;
None for no limit.
may_create_address_book: boolWhether the user may create an AddressBook in this account.
Trait Implementations§
Source§impl Clone for JmapContactsCapability
impl Clone for JmapContactsCapability
Source§fn clone(&self) -> JmapContactsCapability
fn clone(&self) -> JmapContactsCapability
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 JmapContactsCapability
impl Debug for JmapContactsCapability
Source§impl Default for JmapContactsCapability
impl Default for JmapContactsCapability
Source§fn default() -> JmapContactsCapability
fn default() -> JmapContactsCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JmapContactsCapability
impl<'de> Deserialize<'de> for JmapContactsCapability
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 JmapContactsCapability
impl RefUnwindSafe for JmapContactsCapability
impl Send for JmapContactsCapability
impl Sync for JmapContactsCapability
impl Unpin for JmapContactsCapability
impl UnsafeUnpin for JmapContactsCapability
impl UnwindSafe for JmapContactsCapability
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