pub struct NetDevices { /* private fields */ }Expand description
NetDevices represents the “netDevices” field.
Implementations§
Source§impl NetDevices
impl NetDevices
Sourcepub fn enabled_mut(&mut self) -> &mut Option<bool>
pub fn enabled_mut(&mut self) -> &mut Option<bool>
“enabled” field represents whether Net Devices support is compiled in. Unrelated to whether the host supports Net Devices or not.
Source§impl NetDevices
impl NetDevices
Source§impl NetDevices
impl NetDevices
Sourcepub fn set_enabled(&mut self, val: Option<bool>) -> &mut Self
pub fn set_enabled(&mut self, val: Option<bool>) -> &mut Self
“enabled” field represents whether Net Devices support is compiled in. Unrelated to whether the host supports Net Devices or not.
Trait Implementations§
Source§impl Clone for NetDevices
impl Clone for NetDevices
Source§fn clone(&self) -> NetDevices
fn clone(&self) -> NetDevices
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 NetDevices
impl Debug for NetDevices
Source§impl Default for NetDevices
impl Default for NetDevices
Source§fn default() -> NetDevices
fn default() -> NetDevices
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetDevices
impl<'de> Deserialize<'de> for NetDevices
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 NetDevices
impl PartialEq for NetDevices
Source§impl Serialize for NetDevices
impl Serialize for NetDevices
impl Eq for NetDevices
impl StructuralPartialEq for NetDevices
Auto Trait Implementations§
impl Freeze for NetDevices
impl RefUnwindSafe for NetDevices
impl Send for NetDevices
impl Sync for NetDevices
impl Unpin for NetDevices
impl UnwindSafe for NetDevices
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