pub struct Jwk {Show 15 fields
pub kty: String,
pub kid: Option<String>,
pub alg: Option<String>,
pub key_use: Option<String>,
pub key_ops: Option<Vec<String>>,
pub n: Option<String>,
pub e: Option<String>,
pub crv: Option<String>,
pub x: Option<String>,
pub y: Option<String>,
pub k: Option<String>,
pub x5c: Option<Vec<String>>,
pub x5t: Option<String>,
pub x5t_s256: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A single JSON Web Key
Fields§
§kty: String§kid: Option<String>§alg: Option<String>§key_use: Option<String>§key_ops: Option<Vec<String>>§n: Option<String>§e: Option<String>§crv: Option<String>§x: Option<String>§y: Option<String>§k: Option<String>§x5c: Option<Vec<String>>§x5t: Option<String>§x5t_s256: Option<String>§extra: HashMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Jwk
impl<'de> Deserialize<'de> for Jwk
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
Auto Trait Implementations§
impl Freeze for Jwk
impl RefUnwindSafe for Jwk
impl Send for Jwk
impl Sync for Jwk
impl Unpin for Jwk
impl UnsafeUnpin for Jwk
impl UnwindSafe for Jwk
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