Struct podman_api_stubs::models::VolumeCreateBody [−][src]
pub struct VolumeCreateBody {
pub driver: String,
pub driver_opts: HashMap<String, String>,
pub labels: HashMap<String, String>,
pub name: String,
}
Expand description
VolumeCreateBody Volume configuration
Fields
driver: String
driver_opts: HashMap<String, String>
labels: HashMap<String, String>
name: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VolumeCreateBody
impl Send for VolumeCreateBody
impl Sync for VolumeCreateBody
impl Unpin for VolumeCreateBody
impl UnwindSafe for VolumeCreateBody
Blanket Implementations
Mutably borrows from an owned value. Read more