[][src]Struct sdkms::api_model::PersistTransientKeyRequest

pub struct PersistTransientKeyRequest {
    pub activation_date: Option<Time>,
    pub deactivation_date: Option<Time>,
    pub name: String,
    pub description: Option<String>,
    pub custom_metadata: Option<HashMap<String, String>>,
    pub enabled: Option<bool>,
    pub group_id: Option<Uuid>,
    pub state: Option<SobjectState>,
    pub transient_key: Blob,
}

Request to persist a transient key.

Fields

activation_date: Option<Time>deactivation_date: Option<Time>name: String

Name of the persisted security object. Security object names must be unique within an account.

description: Option<String>custom_metadata: Option<HashMap<String, String>>

User-defined metadata for the persisted key stored as key-value pairs.

enabled: Option<bool>

Whether the new security object should be enabled. Disabled security objects may not perform cryptographic operations.

group_id: Option<Uuid>

Group ID of the security group that the persisted key should belong to. The user or application creating this security object must be a member of this group. If no group is specified, the default group for the requesting application will be used.

state: Option<SobjectState>transient_key: Blob

Transient key to persist.

Trait Implementations

impl Clone for PersistTransientKeyRequest[src]

impl Debug for PersistTransientKeyRequest[src]

impl<'de> Deserialize<'de> for PersistTransientKeyRequest[src]

impl Eq for PersistTransientKeyRequest[src]

impl PartialEq<PersistTransientKeyRequest> for PersistTransientKeyRequest[src]

impl Serialize for PersistTransientKeyRequest[src]

impl StructuralEq for PersistTransientKeyRequest[src]

impl StructuralPartialEq for PersistTransientKeyRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any