pub struct Network {
pub attachable: Option<bool>,
pub ipam: Option<Ipam>,
pub driver: Option<Driver>,
pub driver_opts: Option<HashMap<String, String>>,
pub enable_ipv6: Option<bool>,
pub external: Option<bool>,
pub config: Option<Vec<Config>>,
pub internal: Option<bool>,
pub labels: Option<Labels>,
pub name: Option<String>,
pub options: Option<HashMap<String, String>>,
}
Expand description
Represents the top level Network element
Fields§
§attachable: Option<bool>
§ipam: Option<Ipam>
§driver: Option<Driver>
§driver_opts: Option<HashMap<String, String>>
§enable_ipv6: Option<bool>
§external: Option<bool>
§config: Option<Vec<Config>>
§internal: Option<bool>
§labels: Option<Labels>
§name: Option<String>
§options: 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<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 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