#[repr(C)]pub struct DateTime {
pub time_zone_minutes: i16,
pub year: u16,
pub month: u8,
pub day_of_week: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
}
Fields§
§time_zone_minutes: i16
The number of minutes that this is ahead of or behind UTC.
year: u16
e.g. 2005
month: u8
1..12
day_of_week: u8
0..6, 0==Sunday
day: u8
1..31
hour: u8
0..23
minute: u8
0..59
second: u8
0..59
Trait Implementations§
impl Copy for DateTime
impl Eq for DateTime
impl StructuralPartialEq for DateTime
Auto Trait Implementations§
impl Freeze for DateTime
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnwindSafe for DateTime
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