gcloud_storage/http/hmac_keys/
mod.rs1use time::OffsetDateTime;
2
3pub mod create;
4pub mod delete;
5pub mod get;
6pub mod list;
7pub mod update;
8
9#[derive(Clone, PartialEq, Eq, serde::Deserialize, serde::Serialize, Debug, Default)]
11#[serde(rename_all = "camelCase")]
12pub struct HmacKeyMetadata {
13 pub id: String,
15 pub access_id: String,
17 pub project_id: String,
19 pub service_account_email: String,
21 pub state: String,
23 #[serde(default, with = "time::serde::rfc3339::option")]
25 pub time_created: Option<OffsetDateTime>,
26 #[serde(default, with = "time::serde::rfc3339::option")]
28 pub updated: Option<OffsetDateTime>,
29 pub etag: String,
31}