pub struct NetworkContainerInfo {
pub interfaces: Option<HashMap<String, NetInterface>>,
pub name: Option<String>,
}
Fields§
§interfaces: Option<HashMap<String, NetInterface>>
Interfaces configured for this container with their addresses
name: Option<String>
Name of the container
Implementations§
Source§impl NetworkContainerInfo
impl NetworkContainerInfo
pub fn new() -> NetworkContainerInfo
Trait Implementations§
Source§impl Clone for NetworkContainerInfo
impl Clone for NetworkContainerInfo
Source§fn clone(&self) -> NetworkContainerInfo
fn clone(&self) -> NetworkContainerInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 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
Source§impl PartialEq for NetworkContainerInfo
impl PartialEq for NetworkContainerInfo
Source§impl Serialize for NetworkContainerInfo
impl Serialize for NetworkContainerInfo
impl StructuralPartialEq for NetworkContainerInfo
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