Struct imap_types::response::data::Address
source · pub struct Address<'a> {
pub name: NString<'a>,
pub adl: NString<'a>,
pub mailbox: NString<'a>,
pub host: NString<'a>,
}Expand description
An address structure describes an electronic mail address. TODO(misuse):
Here are many invariants …
mailbox: NIL indicates end of [RFC-2822] group; if non-NIL and host is NIL, holds [RFC-2822] group name. Otherwise, holds [RFC-2822] local-part after removing [RFC-2822] quoting
host: NIL indicates [RFC-2822] group syntax. Otherwise, holds [RFC-2822] domain name
Fields§
§name: NString<'a>Personal name
adl: NString<'a>At-domain-list (source route)
mailbox: NString<'a>Mailbox name
host: NString<'a>Host name
Trait Implementations§
source§impl<'a> PartialEq<Address<'a>> for Address<'a>
impl<'a> PartialEq<Address<'a>> for Address<'a>
impl<'a> Eq for Address<'a>
impl<'a> StructuralEq for Address<'a>
impl<'a> StructuralPartialEq for Address<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Address<'a>
impl<'a> Send for Address<'a>
impl<'a> Sync for Address<'a>
impl<'a> Unpin for Address<'a>
impl<'a> UnwindSafe for Address<'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