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