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 Freeze for Time
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