podman_rest_client/v5/models/inspect_secret.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectSecret contains information on secrets mounted inside the container
4pub struct InspectSecret {
5 /// ID is the GID of the mounted secret file
6 #[serde(rename = "GID")]
7 pub gid: Option<u32>,
8 /// ID is the ID of the secret
9 #[serde(rename = "ID")]
10 pub id: Option<String>,
11 /// ID is the ID of the mode of the mounted secret file
12 #[serde(rename = "Mode")]
13 pub mode: Option<u32>,
14 /// Name is the name of the secret
15 #[serde(rename = "Name")]
16 pub name: Option<String>,
17 /// ID is the UID of the mounted secret file
18 #[serde(rename = "UID")]
19 pub uid: Option<u32>,
20}