podman_rest_client/v5/models/
volume_create_options.rs1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct VolumeCreateOptions {
4 #[serde(rename = "Driver")]
6 pub driver: Option<String>,
7 #[serde(rename = "IgnoreIfExists")]
9 pub ignore_if_exists: Option<bool>,
10 #[serde(rename = "Label")]
12 pub label: Option<std::collections::HashMap<String, String>>,
13 #[serde(rename = "Labels")]
15 pub labels: Option<std::collections::HashMap<String, String>>,
16 #[serde(rename = "Name")]
18 pub name: Option<String>,
19 #[serde(rename = "Options")]
21 pub options: Option<std::collections::HashMap<String, String>>,
22}