pub struct Date {
pub lang: Option<LanguageTag>,
pub date: Option<NaiveDate>,
pub display_date: String,
}Expand description
A human readable date, maybe not exact, with an optional computer readable variant
Fields§
§lang: Option<LanguageTag>§date: Option<NaiveDate>§display_date: StringTrait Implementations§
source§impl PartialEq<Date> for Date
impl PartialEq<Date> for Date
impl StructuralPartialEq for Date
Auto Trait Implementations§
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
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