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

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

type Output = T

Should always be Self

impl<C> SignWithKey<String> for C where
    C: ToBase64

impl<T> ToBase64 for T where
    T: Serialize

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.