pub struct CatValidationResult {
pub cat: Option<CommonAccessToken>,
pub error: Option<Error>,
}Expand description
Result of token validation.
Fields§
§cat: Option<CommonAccessToken>The validated token, if successful.
This will be Some if the token was parsed successfully, even if validation failed due to expired token, invalid issuer, etc.
error: Option<Error>Error that occurred during validation, if any.
This will be None if validation succeeded completely.
Implementations§
Trait Implementations§
Source§impl Clone for CatValidationResult
impl Clone for CatValidationResult
Source§fn clone(&self) -> CatValidationResult
fn clone(&self) -> CatValidationResult
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CatValidationResult
impl RefUnwindSafe for CatValidationResult
impl Send for CatValidationResult
impl Sync for CatValidationResult
impl Unpin for CatValidationResult
impl UnwindSafe for CatValidationResult
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