pub struct ApproxIsmDate {
pub date: IsmDate,
pub qualifier: Option<ApproxQualifier>,
}Expand description
An IsmDate paired with an optional ApproxQualifier.
Models the DateApproximationVocabType companion axis. Example: “circa
1995” is ApproxIsmDate { date: IsmDate::Year(1995), qualifier: Some(ApproxQualifier::Circa) }.
The qualifier is preserved for round-trip and display but does not affect span containment or ordering semantics.
Fields§
§date: IsmDate§qualifier: Option<ApproxQualifier>Trait Implementations§
Source§impl Clone for ApproxIsmDate
impl Clone for ApproxIsmDate
Source§fn clone(&self) -> ApproxIsmDate
fn clone(&self) -> ApproxIsmDate
Returns a duplicate 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 ApproxIsmDate
impl Debug for ApproxIsmDate
Source§impl Display for ApproxIsmDate
impl Display for ApproxIsmDate
Source§impl Hash for ApproxIsmDate
impl Hash for ApproxIsmDate
Source§impl PartialEq for ApproxIsmDate
impl PartialEq for ApproxIsmDate
impl Eq for ApproxIsmDate
impl StructuralPartialEq for ApproxIsmDate
Auto Trait Implementations§
impl Freeze for ApproxIsmDate
impl RefUnwindSafe for ApproxIsmDate
impl Send for ApproxIsmDate
impl Sync for ApproxIsmDate
impl Unpin for ApproxIsmDate
impl UnsafeUnpin for ApproxIsmDate
impl UnwindSafe for ApproxIsmDate
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