Struct google_container1::api::Jwk
source · pub struct Jwk {
pub alg: Option<String>,
pub crv: Option<String>,
pub e: Option<String>,
pub kid: Option<String>,
pub kty: Option<String>,
pub n: Option<String>,
pub use_: Option<String>,
pub x: Option<String>,
pub y: Option<String>,
}
Expand description
Jwk is a JSON Web Key as specified in RFC 7517
This type is not used in any activity, and only used as part of another schema.
Fields§
§alg: Option<String>
Algorithm.
crv: Option<String>
Used for ECDSA keys.
e: Option<String>
Used for RSA keys.
kid: Option<String>
Key ID.
kty: Option<String>
Key Type.
n: Option<String>
Used for RSA keys.
use_: Option<String>
Permitted uses for the public keys.
x: Option<String>
Used for ECDSA keys.
y: Option<String>
Used for ECDSA keys.
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
impl Part for Jwk
Auto Trait Implementations§
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