pub struct JWK {
pub kty: JsonWebKeyTypes,
pub alg: Option<Algorithm>,
pub kid: Option<String>,
pub key_use: Option<JwkPublicKeyUse>,
pub e: Option<String>,
pub n: Option<String>,
}
Fields§
§kty: JsonWebKeyTypes
§alg: Option<Algorithm>
§kid: Option<String>
§key_use: Option<JwkPublicKeyUse>
§e: Option<String>
§n: Option<String>
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 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