pub struct UtcTimestamp(/* private fields */);Expand description
Re-exported from axum_security_oidc: the standard ID-token claim set and
the ID-token verification error (OidcContext::warm_jwks returns it).
A UTC timestamp represented as seconds since the Unix epoch.
Implementations§
Trait Implementations§
Source§impl Clone for UtcTimestamp
impl Clone for UtcTimestamp
Source§fn clone(&self) -> UtcTimestamp
fn clone(&self) -> UtcTimestamp
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 Copy for UtcTimestamp
Source§impl Debug for UtcTimestamp
impl Debug for UtcTimestamp
Source§impl<'de> Deserialize<'de> for UtcTimestamp
impl<'de> Deserialize<'de> for UtcTimestamp
Source§fn deserialize<D>(
deserializer: D,
) -> Result<UtcTimestamp, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<UtcTimestamp, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UtcTimestamp
Source§impl Ord for UtcTimestamp
impl Ord for UtcTimestamp
Source§fn cmp(&self, other: &UtcTimestamp) -> Ordering
fn cmp(&self, other: &UtcTimestamp) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for UtcTimestamp
impl PartialEq for UtcTimestamp
Source§fn eq(&self, other: &UtcTimestamp) -> bool
fn eq(&self, other: &UtcTimestamp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UtcTimestamp
impl PartialOrd for UtcTimestamp
impl StructuralPartialEq for UtcTimestamp
Auto Trait Implementations§
impl Freeze for UtcTimestamp
impl RefUnwindSafe for UtcTimestamp
impl Send for UtcTimestamp
impl Sync for UtcTimestamp
impl Unpin for UtcTimestamp
impl UnsafeUnpin for UtcTimestamp
impl UnwindSafe for UtcTimestamp
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