Struct rjwt::Claims[][src]

pub struct Claims<H, A, C> { /* fields omitted */ }

All the claims of a recursive Token.


impl<H: PartialEq, A: PartialEq, C> Claims<H, A, C>[src]

pub fn expires(&self) -> SystemTime[src]

pub fn get(&self, host: &H, actor_id: &A) -> Option<&C>[src]

Get the most recent claim made by the specified Actor.

pub fn iter(&self) -> Box<dyn Iterator<Item = (&H, &A, &C)>>[src]

Trait Implementations

impl<H: Clone, A: Clone, C: Clone> Clone for Claims<H, A, C>[src]

impl<H: Debug, A: Debug, C: Debug> Debug for Claims<H, A, C>[src]

Auto Trait Implementations

impl<H, A, C> RefUnwindSafe for Claims<H, A, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe,
    H: RefUnwindSafe

impl<H, A, C> Send for Claims<H, A, C> where
    A: Send,
    C: Send,
    H: Send

impl<H, A, C> Sync for Claims<H, A, C> where
    A: Sync,
    C: Sync,
    H: Sync

impl<H, A, C> Unpin for Claims<H, A, C> where
    A: Unpin,
    C: Unpin,
    H: Unpin

impl<H, A, C> UnwindSafe for Claims<H, A, C> where
    A: UnwindSafe,
    C: UnwindSafe,
    H: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,