Enum jwt::algorithm::AlgorithmType
source · pub enum AlgorithmType {
Show 13 variants
Hs256,
Hs384,
Hs512,
Rs256,
Rs384,
Rs512,
Es256,
Es384,
Es512,
Ps256,
Ps384,
Ps512,
None,
}
Expand description
The type of an algorithm, corresponding to the JWA specification.
Variants§
Trait Implementations§
source§impl Clone for AlgorithmType
impl Clone for AlgorithmType
source§fn clone(&self) -> AlgorithmType
fn clone(&self) -> AlgorithmType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AlgorithmType
impl Debug for AlgorithmType
source§impl Default for AlgorithmType
impl Default for AlgorithmType
source§impl<'de> Deserialize<'de> for AlgorithmType
impl<'de> Deserialize<'de> for AlgorithmType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AlgorithmType
impl PartialEq for AlgorithmType
source§impl Serialize for AlgorithmType
impl Serialize for AlgorithmType
impl Copy for AlgorithmType
impl StructuralPartialEq for AlgorithmType
Auto Trait Implementations§
impl Freeze for AlgorithmType
impl RefUnwindSafe for AlgorithmType
impl Send for AlgorithmType
impl Sync for AlgorithmType
impl Unpin for AlgorithmType
impl UnwindSafe for AlgorithmType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)