pub struct Mailbox {
pub id: i64,
pub name: String,
}Expand description
Mailbox metadata as needed by JMAP’s Mailbox/get and Mailbox/query.
id is the store’s native primary key. The dispatcher renders it to the
JMAP-visible id mb-{id}.
Fields§
§id: i64Store-native primary key. Rendered on the wire as mb-{id}.
name: StringHuman-visible mailbox name (e.g. INBOX, Sent, Drafts).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mailbox
impl<'de> Deserialize<'de> for Mailbox
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 Mailbox
impl RefUnwindSafe for Mailbox
impl Send for Mailbox
impl Sync for Mailbox
impl Unpin for Mailbox
impl UnsafeUnpin for Mailbox
impl UnwindSafe for Mailbox
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