podman-rest-client 0.13.0

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