pub struct InterfaceShow {
pub ifindex: usize,
pub ifname: String,
pub mtu: Option<usize>,
pub operstate: String,
}
Fields§
§ifindex: usize
§ifname: String
§mtu: Option<usize>
§operstate: String
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceShow
impl Clone for InterfaceShow
Source§fn clone(&self) -> InterfaceShow
fn clone(&self) -> InterfaceShow
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 InterfaceShow
impl Debug for InterfaceShow
Source§impl<'de> Deserialize<'de> for InterfaceShow
impl<'de> Deserialize<'de> for InterfaceShow
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 InterfaceShow
impl RefUnwindSafe for InterfaceShow
impl Send for InterfaceShow
impl Sync for InterfaceShow
impl Unpin for InterfaceShow
impl UnwindSafe for InterfaceShow
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