pub struct AsyncResourceTimestamp<'a> { /* private fields */ }Expand description
Strict UTC nanosecond RFC 3339 timestamp retained as borrowed sensitive text.
Implementations§
Source§impl<'a> AsyncResourceTimestamp<'a>
impl<'a> AsyncResourceTimestamp<'a>
Sourcepub fn parse(value: &'a str) -> Result<Self, AsyncResourceValidationError>
pub fn parse(value: &'a str) -> Result<Self, AsyncResourceValidationError>
Parses YYYY-MM-DDTHH:MM:SS[.1-9 digits]Z with calendar validation.
Leap seconds are rejected because this type has no leap-second table.
Trait Implementations§
Source§impl<'a> Clone for AsyncResourceTimestamp<'a>
impl<'a> Clone for AsyncResourceTimestamp<'a>
Source§fn clone(&self) -> AsyncResourceTimestamp<'a>
fn clone(&self) -> AsyncResourceTimestamp<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AsyncResourceTimestamp<'a>
Source§impl Debug for AsyncResourceTimestamp<'_>
impl Debug for AsyncResourceTimestamp<'_>
impl Eq for AsyncResourceTimestamp<'_>
Auto Trait Implementations§
impl<'a> Freeze for AsyncResourceTimestamp<'a>
impl<'a> RefUnwindSafe for AsyncResourceTimestamp<'a>
impl<'a> Send for AsyncResourceTimestamp<'a>
impl<'a> Sync for AsyncResourceTimestamp<'a>
impl<'a> Unpin for AsyncResourceTimestamp<'a>
impl<'a> UnsafeUnpin for AsyncResourceTimestamp<'a>
impl<'a> UnwindSafe for AsyncResourceTimestamp<'a>
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