Struct openid::biscuit::jwk::JWKSet[][src]

pub struct JWKSet<T> {
    pub keys: Vec<JWK<T>, Global>,
}

A JSON object that represents a set of JWKs.

Fields

keys: Vec<JWK<T>, Global>

Containted JWKs

Implementations

impl<T> JWKSet<T>[src]

pub fn find(&self, kid: &str) -> Option<&JWK<T>>[src]

Find the key in the set that matches the given key id, if any.

Trait Implementations

impl<T> Debug for JWKSet<T> where
    T: Debug
[src]

impl<'de, T> Deserialize<'de> for JWKSet<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Eq for JWKSet<T> where
    T: Eq
[src]

impl<T> PartialEq<JWKSet<T>> for JWKSet<T> where
    T: PartialEq<T>, 
[src]

impl<T> Serialize for JWKSet<T> where
    T: Serialize
[src]

impl<T> StructuralEq for JWKSet<T>[src]

impl<T> StructuralPartialEq for JWKSet<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for JWKSet<T> where
    T: RefUnwindSafe

impl<T> Send for JWKSet<T> where
    T: Send

impl<T> Sync for JWKSet<T> where
    T: Sync

impl<T> Unpin for JWKSet<T> where
    T: Unpin

impl<T> UnwindSafe for JWKSet<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.