pub struct KeyVerifyResult {
pub key_index: usize,
pub kid: String,
pub kty: String,
pub alg: Option<String>,
pub valid: bool,
pub error: Option<String>,
}Expand description
Result of verifying a token against a specific key
Fields§
§key_index: usize§kid: String§kty: String§alg: Option<String>§valid: bool§error: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyVerifyResult
impl RefUnwindSafe for KeyVerifyResult
impl Send for KeyVerifyResult
impl Sync for KeyVerifyResult
impl Unpin for KeyVerifyResult
impl UnsafeUnpin for KeyVerifyResult
impl UnwindSafe for KeyVerifyResult
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