pub enum AddressRef<'a> {
Single(MailboxRef<'a>),
Many(GroupRef<'a>),
}Variants§
Single(MailboxRef<'a>)
Many(GroupRef<'a>)
Trait Implementations§
Source§impl<'a> Debug for AddressRef<'a>
impl<'a> Debug for AddressRef<'a>
Source§impl<'a> From<GroupRef<'a>> for AddressRef<'a>
impl<'a> From<GroupRef<'a>> for AddressRef<'a>
Source§impl<'a> From<MailboxRef<'a>> for AddressRef<'a>
impl<'a> From<MailboxRef<'a>> for AddressRef<'a>
Source§fn from(mx: MailboxRef<'a>) -> Self
fn from(mx: MailboxRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for AddressRef<'a>
impl<'a> PartialEq for AddressRef<'a>
impl<'a> StructuralPartialEq for AddressRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddressRef<'a>
impl<'a> RefUnwindSafe for AddressRef<'a>
impl<'a> Send for AddressRef<'a>
impl<'a> Sync for AddressRef<'a>
impl<'a> Unpin for AddressRef<'a>
impl<'a> UnwindSafe for AddressRef<'a>
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