Struct rjwt::Claims[][src]

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

All the claims of a recursive Token.

Implementations

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
[src]

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

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

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

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

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,