#[repr(C)]pub struct DateTime {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub day: u8,
pub month: u8,
pub year: u16,
pub weekday: u8,
}
Fields§
§hour: u8
< Hour in 24H format: 0-23
minute: u8
< Minute: 0-59
second: u8
< Second: 0-59
day: u8
< Current day: 1-31
month: u8
< Current month: 1-12
year: u16
< Current year: 2000-2099
weekday: u8
< Current weekday: 1-7
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