Struct docker_sdk::network::NetworkSettings
source · pub struct NetworkSettings {
pub bridge: String,
pub gateway: String,
pub ip_address: String,
pub ip_prefix_len: u64,
pub mac_address: String,
pub ports: Option<HashMap<String, Option<Vec<HashMap<String, String>>>>>,
pub networks: HashMap<String, NetworkEntry>,
}
Fields
bridge: String
gateway: String
ip_address: String
ip_prefix_len: u64
mac_address: String
ports: Option<HashMap<String, Option<Vec<HashMap<String, String>>>>>
networks: HashMap<String, NetworkEntry>
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 moresourceimpl Debug for NetworkSettings
impl Debug for NetworkSettings
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 Serialize for NetworkSettings
impl Serialize 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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