Enum ixdtf::parsers::records::TimeDurationRecord
source · pub enum TimeDurationRecord {
Hours {
hours: u32,
fraction: u64,
},
Minutes {
hours: u32,
minutes: u32,
fraction: u64,
},
Seconds {
hours: u32,
minutes: u32,
seconds: u32,
fraction: u32,
},
}
Expand description
A TimeDurationRecord
represents the result of parsing the time component of a Duration string.
Variants§
Trait Implementations§
source§impl Clone for TimeDurationRecord
impl Clone for TimeDurationRecord
source§fn clone(&self) -> TimeDurationRecord
fn clone(&self) -> TimeDurationRecord
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 TimeDurationRecord
impl Debug for TimeDurationRecord
source§impl PartialEq for TimeDurationRecord
impl PartialEq for TimeDurationRecord
impl Copy for TimeDurationRecord
impl StructuralPartialEq for TimeDurationRecord
Auto Trait Implementations§
impl Freeze for TimeDurationRecord
impl RefUnwindSafe for TimeDurationRecord
impl Send for TimeDurationRecord
impl Sync for TimeDurationRecord
impl Unpin for TimeDurationRecord
impl UnwindSafe for TimeDurationRecord
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
)