pub enum SigningKeyLength {
Len256,
Len384,
Len512,
}Expand description
List of possible JWT signing key lengths. Note: not all algorithms support all key lengths
Variants§
Trait Implementations§
Source§impl Clone for SigningKeyLength
impl Clone for SigningKeyLength
Source§fn clone(&self) -> SigningKeyLength
fn clone(&self) -> SigningKeyLength
Returns a duplicate 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 SigningKeyLength
impl Debug for SigningKeyLength
Source§impl<'de> Deserialize<'de> for SigningKeyLength
impl<'de> Deserialize<'de> for SigningKeyLength
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 SigningKeyLength
impl PartialEq for SigningKeyLength
Source§impl TryFrom<&str> for SigningKeyLength
impl TryFrom<&str> for SigningKeyLength
impl Copy for SigningKeyLength
impl Eq for SigningKeyLength
impl StructuralPartialEq for SigningKeyLength
Auto Trait Implementations§
impl Freeze for SigningKeyLength
impl RefUnwindSafe for SigningKeyLength
impl Send for SigningKeyLength
impl Sync for SigningKeyLength
impl Unpin for SigningKeyLength
impl UnwindSafe for SigningKeyLength
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