pub enum Field<'a> {
Show 15 variants
Date(DateTime),
From(Vec<Mailbox<'a>>),
Sender(Mailbox<'a>),
ReplyTo(Vec<Address<'a>>),
To(Vec<Address<'a>>),
Cc(Vec<Address<'a>>),
Bcc(Vec<Address<'a>>),
MessageId((Cow<'a, str>, Cow<'a, str>)),
InReplyTo(Vec<(Cow<'a, str>, Cow<'a, str>)>),
References(Vec<(Cow<'a, str>, Cow<'a, str>)>),
Subject(Cow<'a, str>),
Comments(Cow<'a, str>),
Keywords(Vec<Vec<Cow<'a, str>>>),
Trace {
return_path: Option<Option<EmailAddress<'a>>>,
received: Vec<(Vec<ReceivedToken<'a>>, DateTime)>,
fields: Vec<TraceField<'a>>,
},
Unknown {
name: &'a str,
value: Cow<'a, str>,
},
}
Variants§
Date(DateTime)
From(Vec<Mailbox<'a>>)
Sender(Mailbox<'a>)
ReplyTo(Vec<Address<'a>>)
To(Vec<Address<'a>>)
Cc(Vec<Address<'a>>)
Bcc(Vec<Address<'a>>)
MessageId((Cow<'a, str>, Cow<'a, str>))
InReplyTo(Vec<(Cow<'a, str>, Cow<'a, str>)>)
References(Vec<(Cow<'a, str>, Cow<'a, str>)>)
Subject(Cow<'a, str>)
Comments(Cow<'a, str>)
Keywords(Vec<Vec<Cow<'a, str>>>)
Trace
Fields
§
return_path: Option<Option<EmailAddress<'a>>>
Unknown
Trait Implementations§
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> 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