pub struct NetworkSummary {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub id: Option<String>,
pub name: Option<String>,
pub driver: Option<String>,
pub scope: Option<String>,
pub internal: Option<bool>,
pub attachable: Option<bool>,
pub labels: BTreeMap<String, String>,
}Expand description
Neutral Docker network summary.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
id: Option<String>Network ID.
name: Option<String>Network name.
driver: Option<String>Driver name.
scope: Option<String>Scope.
internal: Option<bool>Whether the network is internal.
attachable: Option<bool>Whether containers may attach manually.
labels: BTreeMap<String, String>Network labels.
Trait Implementations§
Source§impl Clone for NetworkSummary
impl Clone for NetworkSummary
Source§fn clone(&self) -> NetworkSummary
fn clone(&self) -> NetworkSummary
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 NetworkSummary
impl Debug for NetworkSummary
Source§impl<'de> Deserialize<'de> for NetworkSummary
impl<'de> Deserialize<'de> for NetworkSummary
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 PartialEq for NetworkSummary
impl PartialEq for NetworkSummary
Source§fn eq(&self, other: &NetworkSummary) -> bool
fn eq(&self, other: &NetworkSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NetworkSummary
impl Serialize for NetworkSummary
impl Eq for NetworkSummary
impl StructuralPartialEq for NetworkSummary
Auto Trait Implementations§
impl Freeze for NetworkSummary
impl RefUnwindSafe for NetworkSummary
impl Send for NetworkSummary
impl Sync for NetworkSummary
impl Unpin for NetworkSummary
impl UnsafeUnpin for NetworkSummary
impl UnwindSafe for NetworkSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.