Struct monitord::networkd::NetworkdState
source · pub struct NetworkdState {
pub interfaces_state: Vec<InterfaceState>,
pub managed_interfaces: u64,
}Fields§
§interfaces_state: Vec<InterfaceState>§managed_interfaces: u64Trait Implementations§
source§impl Debug for NetworkdState
impl Debug for NetworkdState
source§impl Default for NetworkdState
impl Default for NetworkdState
source§fn default() -> NetworkdState
fn default() -> NetworkdState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetworkdState
impl<'de> Deserialize<'de> for NetworkdState
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<NetworkdState> for NetworkdState
impl PartialEq<NetworkdState> for NetworkdState
source§fn eq(&self, other: &NetworkdState) -> bool
fn eq(&self, other: &NetworkdState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NetworkdState
impl Serialize for NetworkdState
impl Eq for NetworkdState
impl StructuralEq for NetworkdState
impl StructuralPartialEq for NetworkdState
Auto Trait Implementations§
impl RefUnwindSafe for NetworkdState
impl Send for NetworkdState
impl Sync for NetworkdState
impl Unpin for NetworkdState
impl UnwindSafe for NetworkdState
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.