Struct nmstate::EthtoolFeatureConfig
source · #[non_exhaustive]pub struct EthtoolFeatureConfig { /* private fields */ }Implementations§
Trait Implementations§
source§impl Clone for EthtoolFeatureConfig
impl Clone for EthtoolFeatureConfig
source§fn clone(&self) -> EthtoolFeatureConfig
fn clone(&self) -> EthtoolFeatureConfig
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 EthtoolFeatureConfig
impl Debug for EthtoolFeatureConfig
source§impl Default for EthtoolFeatureConfig
impl Default for EthtoolFeatureConfig
source§fn default() -> EthtoolFeatureConfig
fn default() -> EthtoolFeatureConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EthtoolFeatureConfig
impl<'de> Deserialize<'de> for EthtoolFeatureConfig
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 From<EthtoolFeatureConfig> for HashMap<String, bool>
impl From<EthtoolFeatureConfig> for HashMap<String, bool>
source§fn from(c: EthtoolFeatureConfig) -> Self
fn from(c: EthtoolFeatureConfig) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a EthtoolFeatureConfig
impl<'a> IntoIterator for &'a EthtoolFeatureConfig
source§impl PartialEq for EthtoolFeatureConfig
impl PartialEq for EthtoolFeatureConfig
source§fn eq(&self, other: &EthtoolFeatureConfig) -> bool
fn eq(&self, other: &EthtoolFeatureConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EthtoolFeatureConfig
impl Serialize for EthtoolFeatureConfig
impl Eq for EthtoolFeatureConfig
impl StructuralPartialEq for EthtoolFeatureConfig
Auto Trait Implementations§
impl Freeze for EthtoolFeatureConfig
impl RefUnwindSafe for EthtoolFeatureConfig
impl Send for EthtoolFeatureConfig
impl Sync for EthtoolFeatureConfig
impl Unpin for EthtoolFeatureConfig
impl UnwindSafe for EthtoolFeatureConfig
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.