Struct docker_sdk::network::NetworkCreateOptions
source · pub struct NetworkCreateOptions { /* private fields */ }
Expand description
Interface for creating new docker network
Implementations
sourceimpl 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>
)where
&'a HashMap<K, V>: IntoIterator,
K: ToString + Eq + Hash,
V: Serialize,
Trait Implementations
sourceimpl Debug for NetworkCreateOptions
impl Debug for NetworkCreateOptions
sourceimpl Serialize for NetworkCreateOptions
impl Serialize for NetworkCreateOptions
Auto Trait Implementations
impl RefUnwindSafe for NetworkCreateOptions
impl Send for NetworkCreateOptions
impl Sync for NetworkCreateOptions
impl Unpin for NetworkCreateOptions
impl UnwindSafe for NetworkCreateOptions
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