pub struct JmapAccountInfo {
pub name: String,
pub is_personal: bool,
pub is_read_only: bool,
pub account_capabilities: BTreeMap<String, Value>,
}Expand description
Information about a single JMAP account within a session.
Fields§
§name: StringThe human-readable account name.
is_personal: boolWhether the account belongs to the authenticated user.
is_read_only: boolWhether the account is read-only.
account_capabilities: BTreeMap<String, Value>Account-level capability objects, keyed by capability URN.
Trait Implementations§
Source§impl Clone for JmapAccountInfo
impl Clone for JmapAccountInfo
Source§fn clone(&self) -> JmapAccountInfo
fn clone(&self) -> JmapAccountInfo
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 JmapAccountInfo
impl Debug for JmapAccountInfo
Source§impl<'de> Deserialize<'de> for JmapAccountInfo
impl<'de> Deserialize<'de> for JmapAccountInfo
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 JmapAccountInfo
impl RefUnwindSafe for JmapAccountInfo
impl Send for JmapAccountInfo
impl Sync for JmapAccountInfo
impl Unpin for JmapAccountInfo
impl UnsafeUnpin for JmapAccountInfo
impl UnwindSafe for JmapAccountInfo
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