Struct time::time::private::TimeMetadata
source · #[non_exhaustive]pub struct TimeMetadata {
pub(super) subsecond_width: u8,
pub(super) subsecond_value: u32,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.subsecond_width: u8
How many characters wide the formatted subsecond is.
subsecond_value: u32
The value to use when formatting the subsecond. Leading zeroes will be added as necessary.
Trait Implementations§
source§impl Clone for TimeMetadata
impl Clone for TimeMetadata
source§fn clone(&self) -> TimeMetadata
fn clone(&self) -> TimeMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeMetadata
impl Debug for TimeMetadata
impl Copy for TimeMetadata
Auto Trait Implementations§
impl Freeze for TimeMetadata
impl RefUnwindSafe for TimeMetadata
impl Send for TimeMetadata
impl Sync for TimeMetadata
impl Unpin for TimeMetadata
impl UnwindSafe for TimeMetadata
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