Struct docker_compose::v2::NetworkInterface
[−]
[src]
pub struct NetworkInterface { pub aliases: Vec<RawOr<String>>, // some fields omitted }
A connection from a Service
to a Network
.
Fields
aliases: Vec<RawOr<String>>
Additional hostnames by which this service will be known on this network.
Trait Implementations
impl Default for NetworkInterface
[src]
fn default() -> NetworkInterface
Returns the "default value" for a type. Read more
impl Eq for NetworkInterface
[src]
impl PartialEq for NetworkInterface
[src]
fn eq(&self, __arg_0: &NetworkInterface) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NetworkInterface) -> bool
This method tests for !=
.
impl Clone for NetworkInterface
[src]
fn clone(&self) -> NetworkInterface
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for NetworkInterface
[src]
impl InterpolateAll for NetworkInterface
[src]
Recursive merge all fields in the structure.
fn interpolate_all(&mut self) -> Result<(), InterpolationError>
Recursively walk over this type, interpolating all RawOr
values containing references to the environment. The default implementation leaves a value unchanged. Read more
impl MergeOverride for NetworkInterface
[src]
Recursive merge all fields in the structure.
fn merge_override(&self, ovr: &Self) -> Self
Given this value and an override value, merge the override value into this one, producing a new value. Read more