Struct email::Mailbox
[−]
[src]
pub struct Mailbox { pub name: Option<String>, pub address: String, }
Represents an RFC 5322 mailbox
Fields
name | The given name for this address |
address | The mailbox address |
Methods
impl Mailbox
fn new(address: String) -> Mailbox
Create a new Mailbox without a display name
fn new_with_name(name: String, address: String) -> Mailbox
Create a new Mailbox with a display name