Struct docker_compose_types::NetworkSettings
source · [−]pub struct NetworkSettings {
pub attachable: bool,
pub driver: Option<String>,
pub internal: Option<ComposeNetwork>,
pub external: Option<ComposeNetwork>,
pub ipam: Option<Ipam>,
}
Fields
attachable: bool
driver: Option<String>
internal: Option<ComposeNetwork>
external: Option<ComposeNetwork>
ipam: Option<Ipam>
Trait Implementations
sourceimpl Clone for NetworkSettings
impl Clone for NetworkSettings
sourcefn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetworkSettings
impl Debug for NetworkSettings
sourceimpl Default for NetworkSettings
impl Default for NetworkSettings
sourcefn default() -> NetworkSettings
fn default() -> NetworkSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NetworkSettings
impl<'de> Deserialize<'de> for NetworkSettings
sourcefn 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
sourceimpl Hash for NetworkSettings
impl Hash for NetworkSettings
sourceimpl PartialEq<NetworkSettings> for NetworkSettings
impl PartialEq<NetworkSettings> for NetworkSettings
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NetworkSettings) -> bool
fn ne(&self, other: &NetworkSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for NetworkSettings
impl Serialize for NetworkSettings
impl Eq for NetworkSettings
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.