pub struct DateMeta {
pub season: Option<Season>,
pub circa: Option<Circa>,
pub literal: Option<String>,
pub extra: BTreeMap<String, OrdinaryValue>,
}Expand description
Date metadata or less-precise fields.
Fields§
§season: Option<Season>A season.
circa: Option<Circa>Unprecise date.
A number will be considered a year.
Can also take a boolean to mark the enclosing date as approximate.
literal: Option<String>Full date in whatever format.
extra: BTreeMap<String, OrdinaryValue>Date fields not defined above.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DateMeta
impl<'de> Deserialize<'de> for DateMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DateMeta
impl StructuralPartialEq for DateMeta
Auto Trait Implementations§
impl Freeze for DateMeta
impl RefUnwindSafe for DateMeta
impl Send for DateMeta
impl Sync for DateMeta
impl Unpin for DateMeta
impl UnwindSafe for DateMeta
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