Struct podman_rest_client::models::NetInterface
source · pub struct NetInterface {
pub mac_address: Option<String>,
pub subnets: Option<Vec<NetAddress>>,
}
Fields§
§mac_address: Option<String>
MacAddress for this Interface.
subnets: Option<Vec<NetAddress>>
Subnets list of assigned subnets with their gateway.
Implementations§
source§impl NetInterface
impl NetInterface
pub fn new() -> NetInterface
Trait Implementations§
source§impl Clone for NetInterface
impl Clone for NetInterface
source§fn clone(&self) -> NetInterface
fn clone(&self) -> NetInterface
Returns a copy 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 NetInterface
impl Debug for NetInterface
source§impl Default for NetInterface
impl Default for NetInterface
source§fn default() -> NetInterface
fn default() -> NetInterface
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetInterface
impl<'de> Deserialize<'de> for NetInterface
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NetInterface, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NetInterface, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NetInterface
impl PartialEq for NetInterface
source§fn eq(&self, other: &NetInterface) -> bool
fn eq(&self, other: &NetInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetInterface
impl Serialize for NetInterface
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 NetInterface
Auto Trait Implementations§
impl Freeze for NetInterface
impl RefUnwindSafe for NetInterface
impl Send for NetInterface
impl Sync for NetInterface
impl Unpin for NetInterface
impl UnwindSafe for NetInterface
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)