pub struct Civil {
pub year: u32,
pub month: u32,
pub day: u32,
pub hour: u32,
pub minute: u32,
pub second: u32,
}Available on crate feature
rustcrypto only.Expand description
A civil date and time, broken out of a Matter epoch-s.
Fields§
§year: u32The full year, e.g. 2020.
month: u321 through 12.
day: u321 through 31.
hour: u320 through 23.
minute: u320 through 59.
second: u320 through 59; leap seconds are not represented.
Trait Implementations§
impl Copy for Civil
impl Eq for Civil
impl StructuralPartialEq for Civil
Auto Trait Implementations§
impl Forget for Civil
impl Freeze for Civil
impl Move 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