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
sourceimpl Streamable for DateTime
impl Streamable for DateTime
sourceimpl<'a> TryFrom<DateTime> for OrigDate
impl<'a> TryFrom<DateTime> for OrigDate
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl<'a> TryFrom<DateTime> for ResentDate
impl<'a> TryFrom<DateTime> for ResentDate
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourcefn try_from(input: DateTime) -> Result<ResentDate, ParseError>
fn try_from(input: DateTime) -> Result<ResentDate, ParseError>
Performs the conversion.
impl StructuralPartialEq for DateTime
Auto Trait Implementations
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnwindSafe for DateTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more