pub struct Civil {
pub year: i64,
pub month: i64,
pub day: i64,
pub hour: i64,
pub minute: i64,
pub second: i64,
}Expand description
A broken-down date and time.
Fields§
§year: i64The year.
month: i64The month, 1–12.
day: i64The day of the month, 1–31.
hour: i64The hour, 0–23.
minute: i64The minute, 0–59.
second: i64The second, 0–59.
Trait Implementations§
impl Copy for Civil
impl Eq for Civil
impl StructuralPartialEq for Civil
Auto Trait Implementations§
impl Freeze for Civil
impl RefUnwindSafe for Civil
impl Send for Civil
impl Sync for Civil
impl Unpin for Civil
impl UnsafeUnpin for Civil
impl UnwindSafe for Civil
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