Enum attenuable_jwt::KeyUse
source · [−]pub enum KeyUse {
Encryption,
Signing,
}Expand description
Key use identifiers.
Used in the use claim of a JWK.
Variants
Encryption
Encryption.
Signing
Signing.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for KeyUse
impl<'de> Deserialize<'de> for KeyUse
sourcefn 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
impl StructuralPartialEq for KeyUse
Auto Trait Implementations
impl RefUnwindSafe for KeyUse
impl Send for KeyUse
impl Sync for KeyUse
impl Unpin for KeyUse
impl UnwindSafe for KeyUse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more