Enum email_format::rfc5322::Field
[−]
[src]
pub enum Field { OrigDate(OrigDate), From(From), Sender(Sender), ReplyTo(ReplyTo), To(To), Cc(Cc), Bcc(Bcc), MessageId(MessageId), InReplyTo(InReplyTo), References(References), Subject(Subject), Comments(Comments), Keywords(Keywords), OptionalField(OptionalField), }
Variants
OrigDate(OrigDate)
From(From)
Sender(Sender)
ReplyTo(ReplyTo)
To(To)
Cc(Cc)
Bcc(Bcc)
MessageId(MessageId)
InReplyTo(InReplyTo)
References(References)
Subject(Subject)
Comments(Comments)
Keywords(Keywords)
OptionalField(OptionalField)
Trait Implementations
impl Debug for Field
[src]
impl Clone for Field
[src]
fn clone(&self) -> Field
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Field
[src]
fn eq(&self, __arg_0: &Field) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Field) -> bool
This method tests for !=
.
impl Parsable for Field
[src]
fn parse(input: &[u8]) -> Result<(Self, &[u8]), ParseError>
Parse the object off of the beginning of the input
. If found, returns Some object, and a slice containing the remainer of the input. Read more
impl Streamable for Field
[src]
fn stream<W: Write>(&self, w: &mut W) -> Result<usize, IoError>
Serializes and sends the content out to w
, returning the number of bytes written.