Struct ixdtf::parsers::records::TimeRecord
source · pub struct TimeRecord {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub nanosecond: u32,
}
Expand description
Parsed Time info
Fields§
§hour: u8
An hour
minute: u8
A minute value
second: u8
A second value.
nanosecond: u32
A nanosecond value representing all sub-second components.
Trait Implementations§
source§impl Clone for TimeRecord
impl Clone for TimeRecord
source§fn clone(&self) -> TimeRecord
fn clone(&self) -> TimeRecord
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 TimeRecord
impl Debug for TimeRecord
source§impl Default for TimeRecord
impl Default for TimeRecord
source§fn default() -> TimeRecord
fn default() -> TimeRecord
Returns the “default value” for a type. Read more
source§impl PartialEq for TimeRecord
impl PartialEq for TimeRecord
impl Copy for TimeRecord
impl StructuralPartialEq for TimeRecord
Auto Trait Implementations§
impl Freeze for TimeRecord
impl RefUnwindSafe for TimeRecord
impl Send for TimeRecord
impl Sync for TimeRecord
impl Unpin for TimeRecord
impl UnwindSafe for TimeRecord
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)