podman_rest_client/v5/models/linux_id_mapping.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// LinuxIDMapping specifies UID/GID mappings
4pub struct LinuxIdMapping {
5 /// ContainerID is the starting UID/GID in the container
6 #[serde(rename = "containerID")]
7 pub container_id: Option<u32>,
8 /// HostID is the starting UID/GID on the host to be mapped to 'ContainerID'
9 #[serde(rename = "hostID")]
10 pub host_id: Option<u32>,
11 /// Size is the number of IDs to be mapped
12 pub size: Option<u32>,
13}