pub struct CreateJsonWebKeySet {
pub alg: String,
pub kid: String,
pub _use: String,
}
Expand description
CreateJsonWebKeySet : Create JSON Web Key Set Request Body
Fields§
§alg: String
JSON Web Key Algorithm The algorithm to be used for creating the key. Supports RS256
, ES256
, ES512
, HS512
, and HS256
.
kid: String
JSON Web Key ID The Key ID of the key to be created.
_use: String
JSON Web Key Use The "use" (public key use) parameter identifies the intended use of the public key. The "use" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are "enc" and "sig".
Implementations§
Trait Implementations§
source§impl Clone for CreateJsonWebKeySet
impl Clone for CreateJsonWebKeySet
source§fn clone(&self) -> CreateJsonWebKeySet
fn clone(&self) -> CreateJsonWebKeySet
Returns a copy 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 CreateJsonWebKeySet
impl Debug for CreateJsonWebKeySet
source§impl<'de> Deserialize<'de> for CreateJsonWebKeySet
impl<'de> Deserialize<'de> for CreateJsonWebKeySet
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
source§impl PartialEq for CreateJsonWebKeySet
impl PartialEq for CreateJsonWebKeySet
source§fn eq(&self, other: &CreateJsonWebKeySet) -> bool
fn eq(&self, other: &CreateJsonWebKeySet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateJsonWebKeySet
impl Serialize for CreateJsonWebKeySet
impl StructuralPartialEq for CreateJsonWebKeySet
Auto Trait Implementations§
impl RefUnwindSafe for CreateJsonWebKeySet
impl Send for CreateJsonWebKeySet
impl Sync for CreateJsonWebKeySet
impl Unpin for CreateJsonWebKeySet
impl UnwindSafe for CreateJsonWebKeySet
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