Struct cloud_storage::hmac_key::HmacMeta[][src]

pub struct HmacMeta {
    pub kind: String,
    pub id: String,
    pub self_link: String,
    pub access_id: String,
    pub project_id: String,
    pub service_account_email: String,
    pub state: HmacState,
    pub time_created: DateTime<Utc>,
    pub updated: DateTime<Utc>,
    pub etag: String,
}
Expand description

Contains information about an Hmac Key.

Fields

kind: String

The kind of item this is. For HMAC key metadata, this is always storage#hmacKeyMetadata.

id: String

The ID of the HMAC key, including the Project ID and the Access ID.

self_link: String

The link to this resource.

access_id: String

The access ID of the HMAC Key.

project_id: String

The Project ID of the project that owns the service account to which the key authenticates.

service_account_email: String

The email address of the key’s associated service account.

state: HmacState

The state of the key.

time_created: DateTime<Utc>

The creation time of the HMAC key.

updated: DateTime<Utc>

The last modification time of the HMAC key metadata.

etag: String

HTTP 1.1 Entity tag for the HMAC key.

Trait Implementations

impl Debug for HmacMeta[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

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

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<HmacMeta> for HmacMeta[src]

fn eq(&self, other: &HmacMeta) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &HmacMeta) -> bool[src]

This method tests for !=.

impl Serialize for HmacMeta[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for HmacMeta[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

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