pub struct Normalized {
pub edtf: String,
pub value: Edtf,
pub notes: Vec<Note>,
}Expand description
A successful, unambiguous normalization.
Fields§
§edtf: StringThe canonical EDTF string. Guaranteed to parse in edtf_core.
value: EdtfThe parsed value behind Normalized::edtf (always
Edtf::parse(&edtf).unwrap()).
notes: Vec<Note>Why the output looks the way it does.
Trait Implementations§
Source§impl Clone for Normalized
impl Clone for Normalized
Source§fn clone(&self) -> Normalized
fn clone(&self) -> Normalized
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 Normalized
impl Debug for Normalized
impl Eq for Normalized
Source§impl PartialEq for Normalized
impl PartialEq for Normalized
impl StructuralPartialEq for Normalized
Auto Trait Implementations§
impl Freeze for Normalized
impl RefUnwindSafe for Normalized
impl Send for Normalized
impl Sync for Normalized
impl Unpin for Normalized
impl UnsafeUnpin for Normalized
impl UnwindSafe for Normalized
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