pub struct KeyCreateParameters {
pub kty: Kty,
pub key_size: Option<i32>,
pub public_exponent: Option<i32>,
pub key_ops: Vec<String>,
pub attributes: Option<KeyAttributes>,
pub tags: Option<Value>,
pub crv: Option<Crv>,
pub release_policy: Option<KeyReleasePolicy>,
}Expand description
The key create parameters.
Fields§
§kty: KtyThe type of key to create. For valid values, see JsonWebKeyType.
key_size: Option<i32>The key size in bits. For example: 2048, 3072, or 4096 for RSA.
public_exponent: Option<i32>The public exponent for a RSA key.
key_ops: Vec<String>§attributes: Option<KeyAttributes>The attributes of a key managed by the key vault service.
Application specific metadata in the form of key-value pairs.
crv: Option<Crv>Elliptic curve name. For valid values, see JsonWebKeyCurveName.
release_policy: Option<KeyReleasePolicy>The policy rules under which the key can be exported.
Implementations§
Trait Implementations§
Source§impl Clone for KeyCreateParameters
impl Clone for KeyCreateParameters
Source§fn clone(&self) -> KeyCreateParameters
fn clone(&self) -> KeyCreateParameters
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 KeyCreateParameters
impl Debug for KeyCreateParameters
Source§impl<'de> Deserialize<'de> for KeyCreateParameters
impl<'de> Deserialize<'de> for KeyCreateParameters
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 KeyCreateParameters
impl PartialEq for KeyCreateParameters
Source§impl Serialize for KeyCreateParameters
impl Serialize for KeyCreateParameters
impl StructuralPartialEq for KeyCreateParameters
Auto Trait Implementations§
impl Freeze for KeyCreateParameters
impl RefUnwindSafe for KeyCreateParameters
impl Send for KeyCreateParameters
impl Sync for KeyCreateParameters
impl Unpin for KeyCreateParameters
impl UnwindSafe for KeyCreateParameters
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