pub struct JwtAccess {
pub verify: JwtAccessVerify,
pub issue: Option<JwtAccessIssue>,
pub audience: Option<Vec<Expr>>,
}Fields§
§verify: JwtAccessVerify§issue: Option<JwtAccessIssue>§audience: Option<Vec<Expr>>Accepted values for the token aud claim. When set, verification
requires the claim to be present and to intersect this list.
Trait Implementations§
impl Eq for JwtAccess
impl StructuralPartialEq for JwtAccess
Auto Trait Implementations§
impl !Freeze for JwtAccess
impl RefUnwindSafe for JwtAccess
impl Send for JwtAccess
impl Sync for JwtAccess
impl Unpin for JwtAccess
impl UnsafeUnpin for JwtAccess
impl UnwindSafe for JwtAccess
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.