Struct ixdtf::parsers::records::DurationParseRecord
source · pub struct DurationParseRecord {
pub sign: Sign,
pub date: Option<DateDurationRecord>,
pub time: Option<TimeDurationRecord>,
}
Expand description
The resulting record of parsing a Duration
string.
Fields§
§sign: Sign
Duration Sign
date: Option<DateDurationRecord>
The parsed DateDurationRecord
if present.
time: Option<TimeDurationRecord>
The parsed TimeDurationRecord
if present.
Trait Implementations§
source§impl Clone for DurationParseRecord
impl Clone for DurationParseRecord
source§fn clone(&self) -> DurationParseRecord
fn clone(&self) -> DurationParseRecord
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 DurationParseRecord
impl Debug for DurationParseRecord
source§impl PartialEq for DurationParseRecord
impl PartialEq for DurationParseRecord
impl Copy for DurationParseRecord
impl StructuralPartialEq for DurationParseRecord
Auto Trait Implementations§
impl Freeze for DurationParseRecord
impl RefUnwindSafe for DurationParseRecord
impl Send for DurationParseRecord
impl Sync for DurationParseRecord
impl Unpin for DurationParseRecord
impl UnwindSafe for DurationParseRecord
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
)