pub struct NetworkInspect {
pub name: String,
pub id: String,
pub driver: String,
pub internal: bool,
pub enable_ipv6: bool,
pub attachable: bool,
pub labels: Option<HashMap<String, String>>,
pub options: Option<HashMap<String, String>>,
pub ipam: NetworkIpam,
}Expand description
Network inspect response subset.
Fields§
§name: StringNetwork name.
id: StringNetwork identifier.
driver: StringDriver.
internal: boolWhether the network is internal.
enable_ipv6: boolWhether IPv6 is enabled.
attachable: boolWhether the network is attachable.
labels: Option<HashMap<String, String>>Labels.
options: Option<HashMap<String, String>>Driver options.
ipam: NetworkIpamIPAM settings.
Trait Implementations§
Source§impl Clone for NetworkInspect
impl Clone for NetworkInspect
Source§fn clone(&self) -> NetworkInspect
fn clone(&self) -> NetworkInspect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkInspect
impl Debug for NetworkInspect
Source§impl<'de> Deserialize<'de> for NetworkInspect
impl<'de> Deserialize<'de> for NetworkInspect
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
Auto Trait Implementations§
impl Freeze for NetworkInspect
impl RefUnwindSafe for NetworkInspect
impl Send for NetworkInspect
impl Sync for NetworkInspect
impl Unpin for NetworkInspect
impl UnsafeUnpin for NetworkInspect
impl UnwindSafe for NetworkInspect
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