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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// VolumeOptions represents the options for a mount of type volume.
pub struct VolumeOptions {
    #[serde(rename = "DriverConfig")]
    pub driver_config: Option<crate::v5::models::Driver>,
    #[serde(rename = "Labels")]
    pub labels: Option<std::collections::HashMap<String, String>>,
    #[serde(rename = "NoCopy")]
    pub no_copy: Option<bool>,
    #[serde(rename = "Subpath")]
    pub subpath: Option<String>,
}