podman_rest_client/v5/models/device_mapping.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// DeviceMapping represents the device mapping between the host and the container.
4pub struct DeviceMapping {
5 #[serde(rename = "CgroupPermissions")]
6 pub cgroup_permissions: Option<String>,
7 #[serde(rename = "PathInContainer")]
8 pub path_in_container: Option<String>,
9 #[serde(rename = "PathOnHost")]
10 pub path_on_host: Option<String>,
11}