podman_rest_client/v5/models/
bind_options.rs

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