podman_rest_client/v5/models/inspect_device.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectDevice is a single device that will be mounted into the container.
4pub struct InspectDevice {
5 /// CgroupPermissions is the permissions of the mounted device.
6 /// Presently not populated.
7 /// TODO.
8 #[serde(rename = "CgroupPermissions")]
9 pub cgroup_permissions: Option<String>,
10 /// PathInContainer is the path of the device within the container.
11 #[serde(rename = "PathInContainer")]
12 pub path_in_container: Option<String>,
13 /// PathOnHost is the path of the device on the host.
14 #[serde(rename = "PathOnHost")]
15 pub path_on_host: Option<String>,
16}