[][src]Struct jwks_client::jwt::Header

pub struct Header { /* fields omitted */ }

Methods

impl Header[src]

pub fn new(json: Value) -> Self[src]

pub fn get_str(&self, key: &str) -> Option<&str>[src]

pub fn get_i64(&self, key: &str) -> Option<i64>[src]

pub fn get_u64(&self, key: &str) -> Option<u64>[src]

pub fn get_f64(&self, key: &str) -> Option<f64>[src]

pub fn get_bool(&self, key: &str) -> Option<bool>[src]

pub fn get_object(&self, key: &str) -> Option<&Map<String, Value>>[src]

pub fn get_array(&self, key: &str) -> Option<&Vec<Value>>[src]

pub fn get_null(&self, key: &str) -> Option<()>[src]

pub fn into<T: DeserializeOwned>(&self) -> Result<T, Error>[src]

pub fn alg(&self) -> Option<&str>[src]

pub fn enc(&self) -> Option<&str>[src]

pub fn zip(&self) -> Option<&str>[src]

pub fn jku(&self) -> Option<&str>[src]

pub fn jkw(&self) -> Option<&str>[src]

pub fn kid(&self) -> Option<&str>[src]

pub fn x5u(&self) -> Option<&str>[src]

pub fn x5c(&self) -> Option<&str>[src]

pub fn x5t(&self) -> Option<&str>[src]

pub fn typ(&self) -> Option<&str>[src]

pub fn cty(&self) -> Option<&str>[src]

pub fn crit(&self) -> Option<&str>[src]

Trait Implementations

impl Debug for Header[src]

impl Serialize for Header[src]

impl<'de> Deserialize<'de> for Header[src]

Auto Trait Implementations

impl Send for Header

impl Unpin for Header

impl Sync for Header

impl UnwindSafe for Header

impl RefUnwindSafe for Header

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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