pub struct VolumeCreateOptions { /* private fields */ }
Expand description
Interface for creating volumes
Implementations§
Source§impl VolumeCreateOptions
impl VolumeCreateOptions
Sourcepub fn serialize(&self) -> Result<String>
pub fn serialize(&self) -> Result<String>
serialize options as a string. returns None if no options are defined
pub fn parse_from<'a, K, V>( &self, params: &'a HashMap<K, V>, body: &mut BTreeMap<String, Value>, )
Sourcepub fn builder() -> VolumeCreateOptionsBuilder
pub fn builder() -> VolumeCreateOptionsBuilder
return a new instance of a builder for options
Trait Implementations§
Source§impl Debug for VolumeCreateOptions
impl Debug for VolumeCreateOptions
Auto Trait Implementations§
impl Freeze for VolumeCreateOptions
impl RefUnwindSafe for VolumeCreateOptions
impl Send for VolumeCreateOptions
impl Sync for VolumeCreateOptions
impl Unpin for VolumeCreateOptions
impl UnwindSafe for VolumeCreateOptions
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