pub struct Generic {
pub kty: KeyType,
pub use_: Option<KeyUse>,
pub key_ops: Option<Vec<String>>,
pub alg: Option<String>,
pub kid: Option<String>,
pub x5u: Option<String>,
pub x5c: Option<Vec<String>>,
pub x5t: Option<String>,
pub x5t_s256: Option<String>,
}
Expand description
Generic parameters for JSON Web Key. See RFC 7517, Section 4.
Fields§
§kty: KeyType
§use_: Option<KeyUse>
§key_ops: Option<Vec<String>>
§alg: Option<String>
§kid: Option<String>
§x5u: Option<String>
§x5c: Option<Vec<String>>
§x5t: Option<String>
§x5t_s256: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Generic
impl<'de> Deserialize<'de> for Generic
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
impl StructuralPartialEq for Generic
Auto Trait Implementations§
impl Freeze for Generic
impl RefUnwindSafe for Generic
impl Send for Generic
impl Sync for Generic
impl Unpin for Generic
impl UnwindSafe for Generic
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