nethsm_sdk_rs/models/
private_key_pem_arguments.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12#[non_exhaustive]
13pub struct PrivateKeyPemArguments {
14 #[serde(rename = "mechanisms", skip_serializing_if = "Option::is_none")]
15 pub mechanisms: Option<Vec<crate::models::KeyMechanism>>,
16 #[serde(rename = "restrictions", skip_serializing_if = "Option::is_none")]
17 pub restrictions: Option<Box<crate::models::KeyRestrictions>>,
18}
19
20impl PrivateKeyPemArguments {
21 pub fn new() -> PrivateKeyPemArguments {
22 PrivateKeyPemArguments {
23 mechanisms: None,
24 restrictions: None,
25 }
26 }
27}