pub struct VolumeCreateBodyBuilder { /* private fields */ }
Expand description
Builder for VolumeCreateBody
.
Implementations§
Source§impl VolumeCreateBodyBuilder
impl VolumeCreateBodyBuilder
Sourcepub fn driver<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn driver<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Name of the volume driver to use.
Sourcepub fn driver_opts<VALUE: Into<Option<HashMap<String, String>>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn driver_opts<VALUE: Into<Option<HashMap<String, String>>>>( &mut self, value: VALUE, ) -> &mut Self
A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
Sourcepub fn labels<VALUE: Into<Option<HashMap<String, String>>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn labels<VALUE: Into<Option<HashMap<String, String>>>>( &mut self, value: VALUE, ) -> &mut Self
User-defined key/value metadata.
Trait Implementations§
Source§impl Clone for VolumeCreateBodyBuilder
impl Clone for VolumeCreateBodyBuilder
Source§fn clone(&self) -> VolumeCreateBodyBuilder
fn clone(&self) -> VolumeCreateBodyBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VolumeCreateBodyBuilder
impl Default for VolumeCreateBodyBuilder
Source§fn default() -> VolumeCreateBodyBuilder
fn default() -> VolumeCreateBodyBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VolumeCreateBodyBuilder
impl RefUnwindSafe for VolumeCreateBodyBuilder
impl Send for VolumeCreateBodyBuilder
impl Sync for VolumeCreateBodyBuilder
impl Unpin for VolumeCreateBodyBuilder
impl UnwindSafe for VolumeCreateBodyBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more