pub struct Date {
pub year: u16,
pub month: u16,
pub day: u16,
pub hour: u16,
pub min: u16,
pub sec: u16,
pub ms: u16,
pub wday: u16,
}Expand description
a date and time (date(): Windows local time, Linux UTC)
Fields§
§year: u16§month: u16§day: u16§hour: u16§min: u16§sec: u16§ms: u16§wday: u16Trait Implementations§
Auto Trait Implementations§
impl Forget for Date
impl Freeze for Date
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnsafeUnpin for Date
impl UnwindSafe for Date
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