pub enum JwtParsingStatus {
Parsed,
Rejected(JwtParseRejection),
}Expand description
Compact syntax/profile status.
Variants§
Parsed
The token is a supported compact ES256 JWS with bounded JSON claims.
Rejected(JwtParseRejection)
The compact input was malformed or outside the closed local profile.
Trait Implementations§
Source§impl Clone for JwtParsingStatus
impl Clone for JwtParsingStatus
Source§fn clone(&self) -> JwtParsingStatus
fn clone(&self) -> JwtParsingStatus
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 JwtParsingStatus
Source§impl Debug for JwtParsingStatus
impl Debug for JwtParsingStatus
Source§impl<'de> Deserialize<'de> for JwtParsingStatus
impl<'de> Deserialize<'de> for JwtParsingStatus
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
impl Eq for JwtParsingStatus
Source§impl PartialEq for JwtParsingStatus
impl PartialEq for JwtParsingStatus
Source§impl Serialize for JwtParsingStatus
impl Serialize for JwtParsingStatus
impl StructuralPartialEq for JwtParsingStatus
Auto Trait Implementations§
impl Freeze for JwtParsingStatus
impl RefUnwindSafe for JwtParsingStatus
impl Send for JwtParsingStatus
impl Sync for JwtParsingStatus
impl Unpin for JwtParsingStatus
impl UnsafeUnpin for JwtParsingStatus
impl UnwindSafe for JwtParsingStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more