pub struct DateTime {
pub year: u16,
pub month: u8,
pub day: u16,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub ms: u16,
}
Expand description
Simple struct that holds Date and Time in UTC
Fields§
§year: u16
§month: u8
§day: u16
§hour: u8
§minute: u8
§second: u8
§ms: u16
Implementations§
Trait Implementations§
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