podman_rest_client/v5/models/
volume_options.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// VolumeOptions represents the options for a mount of type volume.
4pub struct VolumeOptions {
5    #[serde(rename = "DriverConfig")]
6    pub driver_config: Option<crate::v5::models::Driver>,
7    #[serde(rename = "Labels")]
8    pub labels: Option<std::collections::HashMap<String, String>>,
9    #[serde(rename = "NoCopy")]
10    pub no_copy: Option<bool>,
11    #[serde(rename = "Subpath")]
12    pub subpath: Option<String>,
13}