[][src]Struct jwks_client::jwt::Jwt

pub struct Jwt { /* fields omitted */ }

Methods

impl Jwt[src]

pub fn new(header: Header, payload: Payload, signature: String) -> Self[src]

pub fn header(&self) -> &Header[src]

pub fn payload(&self) -> &Payload[src]

pub fn signature(&self) -> &String[src]

pub fn expired(&self) -> Option<bool>[src]

pub fn expired_time(&self, time: SystemTime) -> Option<bool>[src]

pub fn early(&self) -> Option<bool>[src]

pub fn early_time(&self, time: SystemTime) -> Option<bool>[src]

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

pub fn valid(&self) -> Option<bool>[src]

pub fn valid_time(&self, time: SystemTime) -> Option<bool>[src]

Trait Implementations

impl Debug for Jwt[src]

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

impl Serialize for Jwt[src]

Auto Trait Implementations

impl RefUnwindSafe for Jwt

impl Send for Jwt

impl Sync for Jwt

impl Unpin for Jwt

impl UnwindSafe for Jwt

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: Deserialize<'de>, 
[src]

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