pub struct NetworkCreateOpts { /* private fields */ }
Expand description
Interface for creating new docker network
Implementations§
Source§impl NetworkCreateOpts
impl NetworkCreateOpts
Sourcepub fn builder<N>(name: N) -> NetworkCreateOptsBuilder
pub fn builder<N>(name: N) -> NetworkCreateOptsBuilder
Return a new instance of a opts-builder for creating a network.
Sourcepub fn serialize_vec(&self) -> Result<Vec<u8>>
pub fn serialize_vec(&self) -> Result<Vec<u8>>
Serializes the options as a JSON bytes.
Trait Implementations§
Source§impl Clone for NetworkCreateOpts
impl Clone for NetworkCreateOpts
Source§fn clone(&self) -> NetworkCreateOpts
fn clone(&self) -> NetworkCreateOpts
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 Debug for NetworkCreateOpts
impl Debug for NetworkCreateOpts
Auto Trait Implementations§
impl Freeze for NetworkCreateOpts
impl RefUnwindSafe for NetworkCreateOpts
impl Send for NetworkCreateOpts
impl Sync for NetworkCreateOpts
impl Unpin for NetworkCreateOpts
impl UnwindSafe for NetworkCreateOpts
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