pub enum Field<'a> {
Show 16 variants
Date(DateTime),
From(MailboxList<'a>),
Sender(MailboxRef<'a>),
ReplyTo(AddressList<'a>),
To(AddressList<'a>),
Cc(AddressList<'a>),
Bcc(AddressList<'a>),
MessageID(MessageID<'a>),
InReplyTo(MessageIDList<'a>),
References(MessageIDList<'a>),
Subject(Unstructured<'a>),
Comments(Unstructured<'a>),
Keywords(PhraseList<'a>),
Received(Unstructured<'a>),
ReturnPath(ReturnPath<'a>),
MIMEVersion(Version),
}Variants§
Date(DateTime)
From(MailboxList<'a>)
Sender(MailboxRef<'a>)
ReplyTo(AddressList<'a>)
To(AddressList<'a>)
Cc(AddressList<'a>)
Bcc(AddressList<'a>)
MessageID(MessageID<'a>)
InReplyTo(MessageIDList<'a>)
References(MessageIDList<'a>)
Subject(Unstructured<'a>)
Comments(Unstructured<'a>)
Keywords(PhraseList<'a>)
Received(Unstructured<'a>)
ReturnPath(ReturnPath<'a>)
MIMEVersion(Version)
Implementations§
Trait Implementations§
Source§impl<'a> IntoBoundedStatic for Field<'a>
impl<'a> IntoBoundedStatic for Field<'a>
impl<'a> StructuralPartialEq for Field<'a>
Source§impl<'a> ToBoundedStatic for Field<'a>
impl<'a> ToBoundedStatic for Field<'a>
Source§impl<'a> TryFrom<&Unstructured<'a>> for Field<'static>
impl<'a> TryFrom<&Unstructured<'a>> for Field<'static>
Source§type Error = InvalidField
type Error = InvalidField
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for Field<'a>
impl<'a> RefUnwindSafe for Field<'a>
impl<'a> Send for Field<'a>
impl<'a> Sync for Field<'a>
impl<'a> Unpin for Field<'a>
impl<'a> UnsafeUnpin for Field<'a>
impl<'a> UnwindSafe for Field<'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