Struct bollard_stubs::models::NetworkConfig [−][src]
Fields
name: String
The network’s name.
check_duplicate: Option<bool>
Check for networks with duplicate names. Since Network is primarily keyed based on a random ID and not on the name, and network name is strictly a user-friendly alias to the network which is uniquely identified using ID, there is no guaranteed way to check for duplicates. CheckDuplicate is there to provide a best effort checking of any networks which has the same name but it is not guaranteed to catch all name collisions.
driver: Option<String>
Name of the network driver plugin to use.
internal: Option<bool>
Restrict external access to the network.
attachable: Option<bool>
Globally scoped network is manually attachable by regular containers from workers in swarm mode.
ingress: Option<bool>
Ingress network is the network which provides the routing-mesh in swarm mode.
ipam: Option<Ipam>
Optional custom IP scheme for the network.
enable_ipv6: Option<bool>
Enable IPv6 on the network.
options: Option<HashMap<String, String>>
Network specific options to be used by the drivers.
labels: Option<HashMap<String, String>>
User-defined key/value metadata.
Trait Implementations
impl Clone for NetworkConfig
[src]
fn clone(&self) -> NetworkConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NetworkConfig
[src]
impl Default for NetworkConfig
[src]
fn default() -> NetworkConfig
[src]
impl<'de> Deserialize<'de> for NetworkConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<NetworkConfig> for NetworkConfig
[src]
fn eq(&self, other: &NetworkConfig) -> bool
[src]
fn ne(&self, other: &NetworkConfig) -> bool
[src]
impl Serialize for NetworkConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for NetworkConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for NetworkConfig
impl Send for NetworkConfig
impl Sync for NetworkConfig
impl Unpin for NetworkConfig
impl UnwindSafe for NetworkConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,