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 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