[][src]Struct gantry_protocol::catalog::TokenValidation

pub struct TokenValidation {
    pub expired: bool,
    pub expires_human: String,
    pub not_before_human: String,
    pub cannot_use_yet: bool,
    pub signature_valid: bool,
}

A protocol-specific message version of the validation result that the wascap library provides

Fields

expired: boolexpires_human: Stringnot_before_human: Stringcannot_use_yet: boolsignature_valid: bool

Trait Implementations

impl Debug for TokenValidation[src]

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

impl PartialEq<TokenValidation> for TokenValidation[src]

impl Serialize for TokenValidation[src]

impl StructuralPartialEq for TokenValidation[src]

Auto Trait Implementations

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<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.