pub struct CreateJsonWebKeySet {
pub alg: String,
pub kid: String,
pub use: String,
}Expand description
CreateJsonWebKeySet : Create JSON Web Key Set Request Body
Fields§
§alg: StringJSON Web Key Algorithm The algorithm to be used for creating the key. Supports RS256, ES256, ES512, HS512, and HS256.
kid: StringJSON Web Key ID The Key ID of the key to be created.
use: StringJSON 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 duplicate 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 Default for CreateJsonWebKeySet
impl Default for CreateJsonWebKeySet
Source§fn default() -> CreateJsonWebKeySet
fn default() -> CreateJsonWebKeySet
Returns the “default value” for a type. Read more
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§impl Serialize for CreateJsonWebKeySet
impl Serialize for CreateJsonWebKeySet
impl StructuralPartialEq for CreateJsonWebKeySet
Auto Trait Implementations§
impl Freeze for CreateJsonWebKeySet
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