Struct temporal_rs::parser::TemporalInstantString
source · pub struct TemporalInstantString;
Expand description
Parser for a TemporalInstantString
.
Implementations§
source§impl TemporalInstantString
impl TemporalInstantString
sourcepub fn parse(cursor: &mut Cursor) -> TemporalResult<IsoDateTime>
pub fn parse(cursor: &mut Cursor) -> TemporalResult<IsoDateTime>
Parses a targeted string as an Instant
.
§Errors
The parse will error if the provided target is not valid Iso8601 grammar.
Trait Implementations§
source§impl Clone for TemporalInstantString
impl Clone for TemporalInstantString
source§fn clone(&self) -> TemporalInstantString
fn clone(&self) -> TemporalInstantString
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TemporalInstantString
impl Debug for TemporalInstantString
impl Copy for TemporalInstantString
Auto Trait Implementations§
impl RefUnwindSafe for TemporalInstantString
impl Send for TemporalInstantString
impl Sync for TemporalInstantString
impl Unpin for TemporalInstantString
impl UnwindSafe for TemporalInstantString
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