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