pub struct Network {Show 13 fields
pub ipam_config: Option<Value>,
pub links: Option<Vec<String>>,
pub aliases: Option<Vec<String>>,
pub network_id: String,
pub endpoint_id: String,
pub gateway: String,
pub ip_address: String,
pub ip_prefix_len: u8,
pub ipv6_gateway: String,
pub global_ipv6_address: String,
pub global_ipv6_prefix_len: u8,
pub mac_address: String,
pub driver_opts: Option<HashMap<String, String>>,
}
Fields§
§ipam_config: Option<Value>
§links: Option<Vec<String>>
§aliases: Option<Vec<String>>
§network_id: String
§endpoint_id: String
§gateway: String
§ip_address: String
§ip_prefix_len: u8
§ipv6_gateway: String
§global_ipv6_address: String
§global_ipv6_prefix_len: u8
§mac_address: String
§driver_opts: 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