[][src]Struct jwt::header::PrecomputedAlgorithmOnlyHeader

pub struct PrecomputedAlgorithmOnlyHeader(pub AlgorithmType);

A header that only contains the algorithm type. The ToBase64 implementation uses static strings for faster serialization.

Trait Implementations

impl JoseHeader for PrecomputedAlgorithmOnlyHeader[src]

impl ToBase64 for PrecomputedAlgorithmOnlyHeader[src]

Auto Trait Implementations

impl RefUnwindSafe for PrecomputedAlgorithmOnlyHeader

impl Send for PrecomputedAlgorithmOnlyHeader

impl Sync for PrecomputedAlgorithmOnlyHeader

impl Unpin for PrecomputedAlgorithmOnlyHeader

impl UnwindSafe for PrecomputedAlgorithmOnlyHeader

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

type Output = T

Should always be Self

impl<C> SignWithKey<String> for C where
    C: ToBase64
[src]

impl<T> ToBase64 for T where
    T: Serialize
[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.