pub struct NetworkCreateOptions { /* private fields */ }
Expand description
Interface for creating new docker network
Implementations§
Source§impl NetworkCreateOptions
impl NetworkCreateOptions
Sourcepub fn builder(name: &str) -> NetworkCreateOptionsBuilder
pub fn builder(name: &str) -> NetworkCreateOptionsBuilder
return a new instance of a builder for options
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 Map<String, Value>, )
Trait Implementations§
Source§impl Debug for NetworkCreateOptions
impl Debug for NetworkCreateOptions
Auto Trait Implementations§
impl Freeze for NetworkCreateOptions
impl RefUnwindSafe for NetworkCreateOptions
impl Send for NetworkCreateOptions
impl Sync for NetworkCreateOptions
impl Unpin for NetworkCreateOptions
impl UnwindSafe for NetworkCreateOptions
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