Struct docker_sdk::volume::VolumeCreateOptions
source · pub struct VolumeCreateOptions { /* private fields */ }
Expand description
Interface for creating volumes
Implementations
sourceimpl 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>
)where
&'a HashMap<K, V>: IntoIterator,
K: ToString + Eq + Hash,
V: Serialize,
sourcepub fn builder() -> VolumeCreateOptionsBuilder
pub fn builder() -> VolumeCreateOptionsBuilder
return a new instance of a builder for options
Trait Implementations
sourceimpl Debug for VolumeCreateOptions
impl Debug for VolumeCreateOptions
sourceimpl Serialize for VolumeCreateOptions
impl Serialize for VolumeCreateOptions
Auto Trait Implementations
impl RefUnwindSafe for VolumeCreateOptions
impl Send for VolumeCreateOptions
impl Sync for VolumeCreateOptions
impl Unpin for VolumeCreateOptions
impl UnwindSafe for VolumeCreateOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more