[−][src]Enum jwt::header::HeaderType
Variants
Trait Implementations
impl Clone for HeaderType
[src]
fn clone(&self) -> HeaderType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HeaderType
[src]
impl Debug for HeaderType
[src]
impl<'de> Deserialize<'de> for HeaderType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<HeaderType> for HeaderType
[src]
fn eq(&self, other: &HeaderType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for HeaderType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for HeaderType
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeaderType
impl Send for HeaderType
impl Sync for HeaderType
impl Unpin for HeaderType
impl UnwindSafe for HeaderType
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> Component for T where
T: ToBase64 + FromBase64,
[src]
T: ToBase64 + FromBase64,
fn from_base64<Input>(&Input) -> Result<T, Error> where
Input: AsRef<[u8]> + ?Sized,
[src]
Input: AsRef<[u8]> + ?Sized,
Deprecated:
This is usually implemented through a blanket impl, but if needed use the ToBase64 and FromBase64 traits
Parse from a string.
fn to_base64(&Self) -> Result<String, Error>
[src]
Deprecated:
This is usually implemented through a blanket impl, but if needed use the ToBase64 and FromBase64 traits
Encode to a string.
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> FromBase64 for T where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,