[−][src]Struct jwt::header::PrecomputedAlgorithmOnlyHeader
A header that only contains the algorithm type. The ToBase64
implementation uses static strings for faster serialization.
Trait Implementations
impl JoseHeader for PrecomputedAlgorithmOnlyHeader
[src]
fn algorithm_type(&self) -> AlgorithmType
[src]
fn key_id(&self) -> Option<&str>
[src]
fn type_(&self) -> Option<HeaderType>
[src]
fn content_type(&self) -> Option<HeaderContentType>
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
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,
[src]
C: ToBase64,
fn sign_with_key(Self, &dyn SigningAlgorithm) -> Result<String, Error>
[src]
impl<T> ToBase64 for T where
T: Serialize,
[src]
T: Serialize,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,