pub struct KeyBindingJwtClaims {
pub iat: i64,
pub aud: String,
pub nonce: String,
pub sd_hash: String,
/* private fields */
}
Expand description
Claims set for key binding JWT.
Fields§
§iat: i64
§aud: String
§nonce: String
§sd_hash: String
Methods from Deref<Target = JsonObject>§
Sourcepub fn get<Q>(&self, key: &Q) -> Option<&Value>
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
Returns a reference to the value corresponding to the key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Sourcepub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn contains_key<Q>(&self, key: &Q) -> bool
Returns true if the map contains a value for the specified key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Trait Implementations§
Source§impl Clone for KeyBindingJwtClaims
impl Clone for KeyBindingJwtClaims
Source§fn clone(&self) -> KeyBindingJwtClaims
fn clone(&self) -> KeyBindingJwtClaims
Returns a duplicate 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 KeyBindingJwtClaims
impl Debug for KeyBindingJwtClaims
Source§impl Default for KeyBindingJwtClaims
impl Default for KeyBindingJwtClaims
Source§fn default() -> KeyBindingJwtClaims
fn default() -> KeyBindingJwtClaims
Returns the “default value” for a type. Read more
Source§impl Deref for KeyBindingJwtClaims
impl Deref for KeyBindingJwtClaims
Source§impl<'de> Deserialize<'de> for KeyBindingJwtClaims
impl<'de> Deserialize<'de> for KeyBindingJwtClaims
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeyBindingJwtClaims
impl PartialEq for KeyBindingJwtClaims
Source§impl Serialize for KeyBindingJwtClaims
impl Serialize for KeyBindingJwtClaims
impl Eq for KeyBindingJwtClaims
impl StructuralPartialEq for KeyBindingJwtClaims
Auto Trait Implementations§
impl Freeze for KeyBindingJwtClaims
impl RefUnwindSafe for KeyBindingJwtClaims
impl Send for KeyBindingJwtClaims
impl Sync for KeyBindingJwtClaims
impl Unpin for KeyBindingJwtClaims
impl UnwindSafe for KeyBindingJwtClaims
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more