pub enum Claim<'t> {
Absent,
String(&'t str),
Strings(Vec<&'t str>),
Other,
}Expand description
An aud or azp claim as the caller read it from the token’s JSON.
Variants§
Absent
String(&'t str)
Strings(Vec<&'t str>)
Other
Any other JSON value, or an array with a member that is not a string.
Trait Implementations§
impl<'t> Eq for Claim<'t>
impl<'t> StructuralPartialEq for Claim<'t>
Auto Trait Implementations§
impl<'t> Forget for Claim<'t>
impl<'t> Freeze for Claim<'t>
impl<'t> Move for Claim<'t>
impl<'t> RefUnwindSafe for Claim<'t>
impl<'t> Send for Claim<'t>
impl<'t> Sync for Claim<'t>where
RawVecInner: Sync,
impl<'t> Unpin for Claim<'t>
impl<'t> UnsafeUnpin for Claim<'t>
impl<'t> UnwindSafe for Claim<'t>
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