Struct email_format::rfc5322::types::DateTime
[−]
[src]
pub struct DateTime { pub day_of_week: Option<DayOfWeek>, pub date: Date, pub time: Time, pub post_cfws: Option<CFWS>, }
Fields
day_of_week: Option<DayOfWeek>
date: Date
time: Time
post_cfws: Option<CFWS>
Trait Implementations
impl Debug for DateTime
[src]
impl Clone for DateTime
[src]
fn clone(&self) -> DateTime
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 DateTime
[src]
fn eq(&self, __arg_0: &DateTime) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DateTime) -> bool
This method tests for !=
.
impl Parsable for DateTime
[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 DateTime
[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.