pub struct NetworkContainerInfo {
pub interfaces: Option<HashMap<String, NetInterface>>,
pub name: Option<String>,
}
Available on crate feature
v5
only.Fields§
§interfaces: Option<HashMap<String, NetInterface>>
Interfaces configured for this container with their addresses
name: Option<String>
Name of the container
Trait Implementations§
Source§impl Debug for NetworkContainerInfo
impl Debug for NetworkContainerInfo
Source§impl Default for NetworkContainerInfo
impl Default for NetworkContainerInfo
Source§fn default() -> NetworkContainerInfo
fn default() -> NetworkContainerInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkContainerInfo
impl<'de> Deserialize<'de> for NetworkContainerInfo
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 NetworkContainerInfo
impl RefUnwindSafe for NetworkContainerInfo
impl Send for NetworkContainerInfo
impl Sync for NetworkContainerInfo
impl Unpin for NetworkContainerInfo
impl UnwindSafe for NetworkContainerInfo
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