Struct ixdtf::parsers::records::DateRecord
source · pub struct DateRecord {
pub year: i32,
pub month: u8,
pub day: u8,
}
Expand description
The record of a parsed date.
Fields§
§year: i32
Date Year
month: u8
Date Month
day: u8
Date Day
Trait Implementations§
source§impl Clone for DateRecord
impl Clone for DateRecord
source§fn clone(&self) -> DateRecord
fn clone(&self) -> DateRecord
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 DateRecord
impl Debug for DateRecord
source§impl Default for DateRecord
impl Default for DateRecord
source§fn default() -> DateRecord
fn default() -> DateRecord
Returns the “default value” for a type. Read more
source§impl PartialEq for DateRecord
impl PartialEq for DateRecord
impl Copy for DateRecord
impl StructuralPartialEq for DateRecord
Auto Trait Implementations§
impl Freeze for DateRecord
impl RefUnwindSafe for DateRecord
impl Send for DateRecord
impl Sync for DateRecord
impl Unpin for DateRecord
impl UnwindSafe for DateRecord
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
)