Struct biscuit::ClaimsSet [] [src]

pub struct ClaimsSet<T> {
    pub registered: RegisteredClaims,
    pub private: T,
}

A collection of claims, both registered and your custom private claims.

Fields

Registered claims defined by the RFC

Application specific claims

Trait Implementations

impl<T: Debug> Debug for ClaimsSet<T>
[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for ClaimsSet<T>
[src]

impl<T: PartialEq> PartialEq for ClaimsSet<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Clone> Clone for ClaimsSet<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Default> Default for ClaimsSet<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Serialize> Serialize for ClaimsSet<T>
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

impl<T> CompactJson for ClaimsSet<T> where
    T: Serialize + DeserializeOwned
[src]