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
17
18
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// BindOptions defines options specific to mounts of type "bind".
pub struct BindOptions {
    #[serde(rename = "CreateMountpoint")]
    pub create_mountpoint: Option<bool>,
    #[serde(rename = "NonRecursive")]
    pub non_recursive: Option<bool>,
    #[serde(rename = "Propagation")]
    pub propagation: Option<String>,
    /// ReadOnlyForceRecursive raises an error if the mount cannot be made recursively read-only.
    #[serde(rename = "ReadOnlyForceRecursive")]
    pub read_only_force_recursive: Option<bool>,
    /// ReadOnlyNonRecursive makes the mount non-recursively read-only, but still leaves the mount recursive
    /// (unless NonRecursive is set to true in conjunction).
    #[serde(rename = "ReadOnlyNonRecursive")]
    pub read_only_non_recursive: Option<bool>,
}