pub struct HmacKeyMetadata {
pub access_id: Option<String>,
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub project_id: Option<String>,
pub self_link: Option<String>,
pub service_account_email: Option<String>,
pub state: Option<String>,
pub time_created: Option<DateTime<Utc>>,
pub updated: Option<DateTime<Utc>>,
}
Expand description
JSON template to produce a JSON-style HMAC Key metadata resource.
§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).
- hmac keys get projects (response)
- hmac keys update projects (request|response)
Fields§
§access_id: Option<String>
The ID of the HMAC Key.
etag: Option<String>
HTTP 1.1 Entity tag for the HMAC key.
id: Option<String>
The ID of the HMAC key, including the Project ID and the Access ID.
kind: Option<String>
The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
project_id: Option<String>
Project ID owning the service account to which the key authenticates.
self_link: Option<String>
The link to this resource.
service_account_email: Option<String>
The email address of the key’s associated service account.
state: Option<String>
The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
time_created: Option<DateTime<Utc>>
The creation time of the HMAC key in RFC 3339 format.
updated: Option<DateTime<Utc>>
The last modification time of the HMAC key metadata in RFC 3339 format.
Trait Implementations§
Source§impl Clone for HmacKeyMetadata
impl Clone for HmacKeyMetadata
Source§fn clone(&self) -> HmacKeyMetadata
fn clone(&self) -> HmacKeyMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for HmacKeyMetadata
impl Debug for HmacKeyMetadata
Source§impl Default for HmacKeyMetadata
impl Default for HmacKeyMetadata
Source§fn default() -> HmacKeyMetadata
fn default() -> HmacKeyMetadata
Source§impl<'de> Deserialize<'de> for HmacKeyMetadata
impl<'de> Deserialize<'de> for HmacKeyMetadata
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>,
Source§impl Serialize for HmacKeyMetadata
impl Serialize for HmacKeyMetadata
impl RequestValue for HmacKeyMetadata
impl ResponseResult for HmacKeyMetadata
Auto Trait Implementations§
impl Freeze for HmacKeyMetadata
impl RefUnwindSafe for HmacKeyMetadata
impl Send for HmacKeyMetadata
impl Sync for HmacKeyMetadata
impl Unpin for HmacKeyMetadata
impl UnwindSafe for HmacKeyMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more