Struct docker_compose_types::NetworkSettings
source · pub struct NetworkSettings {
pub attachable: bool,
pub driver: Option<String>,
pub driver_opts: IndexMap<String, Option<SingleValue>>,
pub enable_ipv6: bool,
pub internal: bool,
pub external: Option<ComposeNetwork>,
pub ipam: Option<Ipam>,
pub labels: Labels,
pub name: Option<String>,
}
Fields§
§attachable: bool
§driver: Option<String>
§driver_opts: IndexMap<String, Option<SingleValue>>
§enable_ipv6: bool
§internal: bool
§external: Option<ComposeNetwork>
§ipam: Option<Ipam>
§labels: Labels
§name: Option<String>
Trait Implementations§
source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
source§fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
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 NetworkSettings
impl Debug for NetworkSettings
source§impl Default for NetworkSettings
impl Default for NetworkSettings
source§fn default() -> NetworkSettings
fn default() -> NetworkSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetworkSettings
impl<'de> Deserialize<'de> for NetworkSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NetworkSettings
impl PartialEq for NetworkSettings
source§fn eq(&self, other: &NetworkSettings) -> bool
fn eq(&self, other: &NetworkSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetworkSettings
impl Serialize for NetworkSettings
impl StructuralPartialEq for NetworkSettings
Auto Trait Implementations§
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnwindSafe for NetworkSettings
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