pub struct MailFolder {
pub id: String,
pub display_name: String,
pub total_item_count: Option<u64>,
pub unread_item_count: Option<u64>,
pub child_folder_count: Option<u64>,
}Expand description
A mail folder as returned by Graph’s /me/mailFolders endpoint.
Fields§
§id: String§display_name: String§total_item_count: Option<u64>Total message count, present when selected. None if Graph omitted it.
unread_item_count: Option<u64>Unread message count, present when selected.
child_folder_count: Option<u64>Number of immediate child folders, present when selected. Lets callers
skip a childFolders round-trip for folders that have none.
Trait Implementations§
Source§impl Clone for MailFolder
impl Clone for MailFolder
Source§impl Debug for MailFolder
impl Debug for MailFolder
Source§impl<'de> Deserialize<'de> for MailFolder
impl<'de> Deserialize<'de> for MailFolder
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 MailFolder
impl RefUnwindSafe for MailFolder
impl Send for MailFolder
impl Sync for MailFolder
impl Unpin for MailFolder
impl UnsafeUnpin for MailFolder
impl UnwindSafe for MailFolder
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