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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// PublishStatus represents the status of the volume as published to an
/// individual node
pub struct PublishStatus {
    /// NodeID is the ID of the swarm node this Volume is published to.
    #[serde(rename = "NodeID")]
    pub node_id: Option<String>,
    /// PublishContext is the PublishContext returned by the CSI plugin when
    /// a volume is published.
    #[serde(rename = "PublishContext")]
    pub publish_context: Option<std::collections::HashMap<String, String>>,
    #[serde(rename = "State")]
    pub state: Option<String>,
}