pub struct Time {
pub time: NaiveTime,
pub offset: Option<FixedOffset>,
}Fields§
§time: NaiveTime§offset: Option<FixedOffset>Implementations§
Trait Implementations§
source§impl LexicalFormOf<Time> for Time
impl LexicalFormOf<Time> for Time
type ValueError = InvalidTimeValue
fn try_as_value(&self) -> Result<Time, Self::ValueError>
source§impl ParseXsd for Time
impl ParseXsd for Time
type LexicalForm = Time
fn parse_xsd(lexical_value: &str) -> ParseXsdResult<Self, Self::LexicalForm>
impl Copy for Time
Auto Trait Implementations§
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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