Struct docker_compose_types::IpamConfig
source · pub struct IpamConfig {
pub subnet: String,
pub gateway: Option<String>,
}
Fields§
§subnet: String
§gateway: Option<String>
Trait Implementations§
source§impl Clone for IpamConfig
impl Clone for IpamConfig
source§fn clone(&self) -> IpamConfig
fn clone(&self) -> IpamConfig
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 IpamConfig
impl Debug for IpamConfig
source§impl<'de> Deserialize<'de> for IpamConfig
impl<'de> Deserialize<'de> for IpamConfig
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 Hash for IpamConfig
impl Hash for IpamConfig
source§impl PartialEq for IpamConfig
impl PartialEq for IpamConfig
source§fn eq(&self, other: &IpamConfig) -> bool
fn eq(&self, other: &IpamConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IpamConfig
impl Serialize for IpamConfig
impl Eq for IpamConfig
impl StructuralPartialEq for IpamConfig
Auto Trait Implementations§
impl RefUnwindSafe for IpamConfig
impl Send for IpamConfig
impl Sync for IpamConfig
impl Unpin for IpamConfig
impl UnwindSafe for IpamConfig
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.