vaultrs/api/identity/group_alias/
responses.rs1use std::collections::HashMap;
2
3use serde::{Deserialize, Serialize};
4
5#[derive(Deserialize, Debug, Serialize)]
8pub struct CreateGroupAliasResponse {
9 pub canonical_id: String,
10 pub id: String,
11}
12
13#[derive(Deserialize, Debug, Serialize)]
16pub struct ReadGroupAliasByIdResponse {
17 pub canonical_id: String,
18 pub creation_time: String,
19 pub id: String,
20 pub last_update_time: String,
21 pub metadata: Option<HashMap<String, String>>,
22 pub mount_accessor: String,
23 pub mount_path: String,
24 pub mount_type: String,
25 pub name: String,
26}
27
28#[derive(Deserialize, Debug, Serialize)]
31pub struct ListGroupAliasesByIdResponse {
32 pub keys: Vec<String>,
33}