pub struct Date {
pub date: NaiveDate,
pub offset: Option<FixedOffset>,
}Fields§
§date: NaiveDate§offset: Option<FixedOffset>Implementations§
Trait Implementations§
Source§impl LexicalFormOf<Date> for Date
impl LexicalFormOf<Date> for Date
type ValueError = InvalidDateValue
fn try_as_value(&self) -> Result<Date, Self::ValueError>
Source§impl ParseXsd for Date
impl ParseXsd for Date
type LexicalForm = Date
fn parse_xsd(lexical_value: &str) -> ParseXsdResult<Self, Self::LexicalForm>
impl Copy for Date
Auto Trait Implementations§
impl Freeze for Date
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