address
ModuleMailboxes.
Contents
use utopia_smtp::Address;Rust
pub struct AddressA mailbox: an address with an optional display name.
Rust
use utopia_smtp::Address;
let jane = Address::new("jane@example.test", "Jane \"JD\" Doe")?;
assert_eq!(jane.to_string(), r#""Jane \"JD\" Doe" <jane@example.test>"#);
assert!(!jane.is_international());Also implements
Display.