pub struct Rfc3339Timestamp<'a>(pub &'a OffsetDateTime);Expand description
Serializes a timestamp in the RFC 3339 format used by JSON API clients.
Tuple Fields§
§0: &'a OffsetDateTimeTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Rfc3339Timestamp<'a>
impl<'a> RefUnwindSafe for Rfc3339Timestamp<'a>
impl<'a> Send for Rfc3339Timestamp<'a>
impl<'a> Sync for Rfc3339Timestamp<'a>
impl<'a> Unpin for Rfc3339Timestamp<'a>
impl<'a> UnsafeUnpin for Rfc3339Timestamp<'a>
impl<'a> UnwindSafe for Rfc3339Timestamp<'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