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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// InspectPodContainerInfo contains information on a container in a pod.
pub struct InspectPodContainerInfo {
    /// ID is the ID of the container.
    #[serde(rename = "Id")]
    pub id: Option<String>,
    /// Name is the name of the container.
    #[serde(rename = "Name")]
    pub name: Option<String>,
    /// State is the current status of the container.
    #[serde(rename = "State")]
    pub state: Option<String>,
}