pub struct Interpretation {
pub edtf: String,
pub value: Edtf,
pub reading: String,
pub notes: Vec<Note>,
}Expand description
One plausible reading of an ambiguous input.
Fields§
§edtf: StringThe canonical EDTF string for this reading.
value: EdtfThe parsed value behind Interpretation::edtf.
reading: StringWhich reading this is (“day-month-year”, “century (19XX)”, …).
notes: Vec<Note>Why this reading exists.
Trait Implementations§
Source§impl Clone for Interpretation
impl Clone for Interpretation
Source§fn clone(&self) -> Interpretation
fn clone(&self) -> Interpretation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Interpretation
impl Debug for Interpretation
impl Eq for Interpretation
Source§impl PartialEq for Interpretation
impl PartialEq for Interpretation
impl StructuralPartialEq for Interpretation
Auto Trait Implementations§
impl Freeze for Interpretation
impl RefUnwindSafe for Interpretation
impl Send for Interpretation
impl Sync for Interpretation
impl Unpin for Interpretation
impl UnsafeUnpin for Interpretation
impl UnwindSafe for Interpretation
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