Struct contack::date_time::DateTime [−][src]
pub struct DateTime { pub year: i32, pub month: u8, pub day: u8, pub hour: u8, pub minute: u8, pub second: u8, }
Fields
year: i32
month: u8
day: u8
hour: u8
minute: u8
second: u8
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DateTime
impl UnwindSafe for DateTime
Blanket Implementations
Mutably borrows from an owned value. Read more