pub enum JwkEncoderMode {
PublicKey,
SecretKey,
Thumbprint,
}Expand description
Supported modes for JWK encoding
Variants§
PublicKey
Encoding a public key
SecretKey
Encoding a secret key
Thumbprint
Encoding a public key thumbprint
Trait Implementations§
Source§impl Clone for JwkEncoderMode
impl Clone for JwkEncoderMode
Source§fn clone(&self) -> JwkEncoderMode
fn clone(&self) -> JwkEncoderMode
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 JwkEncoderMode
impl Debug for JwkEncoderMode
Source§impl PartialEq for JwkEncoderMode
impl PartialEq for JwkEncoderMode
impl Copy for JwkEncoderMode
impl Eq for JwkEncoderMode
impl StructuralPartialEq for JwkEncoderMode
Auto Trait Implementations§
impl Freeze for JwkEncoderMode
impl RefUnwindSafe for JwkEncoderMode
impl Send for JwkEncoderMode
impl Sync for JwkEncoderMode
impl Unpin for JwkEncoderMode
impl UnwindSafe for JwkEncoderMode
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