Struct AddressGroup
pub struct AddressGroup { /* private fields */ }Expand description
A named group of visible mailboxes.
Implementations§
§impl AddressGroup
impl AddressGroup
pub fn new(
name: impl AsRef<str>,
members: MailboxList,
) -> Result<AddressGroup, AddressValidationError>
pub fn new( name: impl AsRef<str>, members: MailboxList, ) -> Result<AddressGroup, AddressValidationError>
Creates an address group.
pub const fn name(&self) -> &DisplayName
pub const fn name(&self) -> &DisplayName
Returns the group name.
pub const fn members(&self) -> &MailboxList
pub const fn members(&self) -> &MailboxList
Returns the group members.
Trait Implementations§
§impl Clone for AddressGroup
impl Clone for AddressGroup
§fn clone(&self) -> AddressGroup
fn clone(&self) -> AddressGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AddressGroup
impl Debug for AddressGroup
§impl Display for AddressGroup
impl Display for AddressGroup
§impl PartialEq for AddressGroup
impl PartialEq for AddressGroup
impl Eq for AddressGroup
impl StructuralPartialEq for AddressGroup
Auto Trait Implementations§
impl Freeze for AddressGroup
impl RefUnwindSafe for AddressGroup
impl Send for AddressGroup
impl Sync for AddressGroup
impl Unpin for AddressGroup
impl UnsafeUnpin for AddressGroup
impl UnwindSafe for AddressGroup
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