Struct mailparsing::Mailbox
source · pub struct Mailbox {
pub name: Option<String>,
pub address: AddrSpec,
}
Fields§
§name: Option<String>
§address: AddrSpec
Trait Implementations§
source§impl EncodeHeaderValue for Mailbox
impl EncodeHeaderValue for Mailbox
fn encode_value(&self) -> SharedString<'static>
fn as_header(&self, _name: &str) -> Option<Header<'static>>
impl Eq for Mailbox
impl StructuralPartialEq for Mailbox
Auto Trait Implementations§
impl Freeze for Mailbox
impl RefUnwindSafe for Mailbox
impl Send for Mailbox
impl Sync for Mailbox
impl Unpin for Mailbox
impl UnwindSafe for Mailbox
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)