pub struct DateTime { /* private fields */ }
Expand description
Structure containing date and time information
Implementations§
Source§impl DateTime
impl DateTime
Sourcepub const fn day_of_week(&self) -> DayOfWeek
pub const fn day_of_week(&self) -> DayOfWeek
Get the day of week
Sourcepub const fn microsecond(&self) -> u32
pub const fn microsecond(&self) -> u32
Get the microsecond (0..=999_999)
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