podman_rest_client/v5/models/id_map.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// IDMap contains a single entry for user namespace range remapping. An array
4/// of IDMap entries represents the structure that will be provided to the Linux
5/// kernel for creating a user namespace.
6pub struct IdMap {
7    pub container_id: Option<i64>,
8    pub host_id: Option<i64>,
9    pub size: Option<i64>,
10}