#[repr(transparent)]pub struct Rfc3339<T>(pub T);Expand description
A wrapper around date-time types that implements JsonSerialize and JsonDeserialize
when the right cargo features are enabled.
Tuple Fields§
§0: TTrait Implementations§
source§impl<T: Ord> Ord for Rfc3339<T>
impl<T: Ord> Ord for Rfc3339<T>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialOrd> PartialOrd for Rfc3339<T>
impl<T: PartialOrd> PartialOrd for Rfc3339<T>
impl<T: Copy> Copy for Rfc3339<T>
impl<T: Eq> Eq for Rfc3339<T>
impl<T> StructuralPartialEq for Rfc3339<T>
Auto Trait Implementations§
impl<T> Freeze for Rfc3339<T>where
T: Freeze,
impl<T> RefUnwindSafe for Rfc3339<T>where
T: RefUnwindSafe,
impl<T> Send for Rfc3339<T>where
T: Send,
impl<T> Sync for Rfc3339<T>where
T: Sync,
impl<T> Unpin for Rfc3339<T>where
T: Unpin,
impl<T> UnwindSafe for Rfc3339<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)