[−][src]Struct openid::StandardClaims
ID Token contents. See spec.
Fields
iss: Url
sub: String
aud: SingleOrMultiple<String>
exp: i64
iat: i64
auth_time: Option<i64>
nonce: Option<String>
acr: Option<String>
amr: Option<Vec<String>>
azp: Option<String>
userinfo: Userinfo
Trait Implementations
impl Claims for StandardClaims
[src]
fn userinfo(&self) -> &Userinfo
[src]
fn c_hash(&self) -> Option<&String>
[src]
fn at_hash(&self) -> Option<&String>
[src]
fn iss(&self) -> &Url
[src]
fn sub(&self) -> &str
[src]
fn aud(&self) -> &SingleOrMultiple<String>
[src]
fn exp(&self) -> i64
[src]
fn iat(&self) -> i64
[src]
fn auth_time(&self) -> Option<i64>
[src]
fn nonce(&self) -> Option<&String>
[src]
fn acr(&self) -> Option<&String>
[src]
fn amr(&self) -> Option<&Vec<String>>
[src]
fn azp(&self) -> Option<&String>
[src]
fn at_hash_to_vec(&self) -> Option<Vec<u8>>
[src]
fn c_hash_to_vec(&self) -> Option<Vec<u8>>
[src]
impl Clone for StandardClaims
[src]
fn clone(&self) -> StandardClaims
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CompactJson for StandardClaims
[src]
impl Debug for StandardClaims
[src]
impl<'de> Deserialize<'de> for StandardClaims
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for StandardClaims
[src]
impl PartialEq<StandardClaims> for StandardClaims
[src]
fn eq(&self, other: &StandardClaims) -> bool
[src]
fn ne(&self, other: &StandardClaims) -> bool
[src]
impl Serialize for StandardClaims
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for StandardClaims
[src]
impl StructuralPartialEq for StandardClaims
[src]
Auto Trait Implementations
impl RefUnwindSafe for StandardClaims
impl Send for StandardClaims
impl Sync for StandardClaims
impl Unpin for StandardClaims
impl UnwindSafe for StandardClaims
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CompactPart for T where
T: CompactJson,
[src]
T: CompactJson,
fn to_bytes(&self) -> Result<Vec<u8>, Error>
[src]
JSON serialize the part and return the JSON string bytes
fn from_bytes(bytes: &[u8]) -> Result<T, Error>
[src]
fn from_base64<B>(encoded: &B) -> Result<Self, Error> where
B: AsRef<[u8]>,
[src]
B: AsRef<[u8]>,
fn to_base64(&self) -> Result<Base64Url, Error>
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,