pub struct Network {Show 13 fields
pub name: Option<String>,
pub id: Option<String>,
pub created: Option<String>,
pub scope: Option<String>,
pub driver: Option<String>,
pub enable_ipv6: Option<bool>,
pub ipam: Option<Ipam>,
pub internal: Option<bool>,
pub attachable: Option<bool>,
pub ingress: Option<bool>,
pub containers: Option<HashMap<String, NetworkContainer>>,
pub options: Option<HashMap<String, String>>,
pub labels: Option<HashMap<String, String>>,
}
Fields§
§name: Option<String>
§id: Option<String>
§created: Option<String>
§scope: Option<String>
§driver: Option<String>
§enable_ipv6: Option<bool>
§ipam: Option<Ipam>
§internal: Option<bool>
§attachable: Option<bool>
§ingress: Option<bool>
§containers: Option<HashMap<String, NetworkContainer>>
§options: Option<HashMap<String, String>>
§labels: Option<HashMap<String, String>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Network
impl<'de> Deserialize<'de> for Network
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Network, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Network, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Network
impl Serialize for Network
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)