pub struct MailboxList { /* private fields */ }Expand description
A comma-rendered list of visible mailboxes.
Implementations§
Source§impl MailboxList
impl MailboxList
Sourcepub const fn new() -> MailboxList
pub const fn new() -> MailboxList
Creates an empty mailbox list.
Sourcepub fn with_mailbox(self, mailbox: Mailbox) -> MailboxList
pub fn with_mailbox(self, mailbox: Mailbox) -> MailboxList
Adds a mailbox and returns the updated list.
Trait Implementations§
Source§impl Clone for MailboxList
impl Clone for MailboxList
Source§fn clone(&self) -> MailboxList
fn clone(&self) -> MailboxList
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 MailboxList
impl Debug for MailboxList
Source§impl Default for MailboxList
impl Default for MailboxList
Source§fn default() -> MailboxList
fn default() -> MailboxList
Returns the “default value” for a type. Read more
Source§impl Display for MailboxList
impl Display for MailboxList
Source§impl PartialEq for MailboxList
impl PartialEq for MailboxList
Source§fn eq(&self, other: &MailboxList) -> bool
fn eq(&self, other: &MailboxList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MailboxList
impl StructuralPartialEq for MailboxList
Auto Trait Implementations§
impl Freeze for MailboxList
impl RefUnwindSafe for MailboxList
impl Send for MailboxList
impl Sync for MailboxList
impl Unpin for MailboxList
impl UnsafeUnpin for MailboxList
impl UnwindSafe for MailboxList
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