[][src]Struct google_cloudkms1_beta1::CryptoKeyVersion

pub struct CryptoKeyVersion {
    pub state: Option<String>,
    pub destroy_time: Option<String>,
    pub create_time: Option<String>,
    pub destroy_event_time: Option<String>,
    pub name: Option<String>,
}

A CryptoKeyVersion represents an individual cryptographic key, and the associated key material.

It can be used for cryptographic operations either directly, or via its parent CryptoKey, in which case the server will choose the appropriate version for the operation.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

state: Option<String>

The current state of the CryptoKeyVersion.

destroy_time: Option<String>

Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.

create_time: Option<String>

Output only. The time at which this CryptoKeyVersion was created.

destroy_event_time: Option<String>

Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.

name: Option<String>

Output only. The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*.

Trait Implementations

impl ResponseResult for CryptoKeyVersion[src]

impl RequestValue for CryptoKeyVersion[src]

impl Default for CryptoKeyVersion[src]

impl Clone for CryptoKeyVersion[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CryptoKeyVersion[src]

impl Serialize for CryptoKeyVersion[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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