pub struct CreateNetworkOptions {
pub internal: bool,
pub enable_ipv6: bool,
pub attachable: bool,
pub labels: Vec<(String, String)>,
pub options: Vec<(String, String)>,
pub ipam: Vec<(String, String, String)>,
}Expand description
Network creation options supported by the CLI transport.
Fields§
§internal: boolWhether the network is internal.
enable_ipv6: boolWhether IPv6 is enabled.
attachable: boolWhether the network is attachable.
labels: Vec<(String, String)>Network labels.
options: Vec<(String, String)>Driver options.
ipam: Vec<(String, String, String)>IPAM subnet tuples.
Trait Implementations§
Source§impl Clone for CreateNetworkOptions
impl Clone for CreateNetworkOptions
Source§fn clone(&self) -> CreateNetworkOptions
fn clone(&self) -> CreateNetworkOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateNetworkOptions
impl RefUnwindSafe for CreateNetworkOptions
impl Send for CreateNetworkOptions
impl Sync for CreateNetworkOptions
impl Unpin for CreateNetworkOptions
impl UnsafeUnpin for CreateNetworkOptions
impl UnwindSafe for CreateNetworkOptions
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