pub struct Mailbox {
pub account_id: String,
pub name: String,
pub full_name: String,
pub unread: u32,
pub total: u32,
}Expand description
A mailbox (folder) inside one mail account.
full_name is the selector: pass it back verbatim as
MessageQuery::mailbox to read that mailbox. On macOS it is the
slash-joined path from the account root ("Travel", "Travel/2026"); on
Microsoft Graph it is the folder id. name is the leaf label for display.
Fields§
§account_id: String§name: String§full_name: String§unread: u32§total: u32Trait 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