#[repr(C)]pub struct NetLegacyNicOptions {
pub has_netdev: bool,
pub netdev: *mut c_char,
pub has_macaddr: bool,
pub macaddr: *mut c_char,
pub has_model: bool,
pub model: *mut c_char,
pub has_addr: bool,
pub addr: *mut c_char,
pub has_vectors: bool,
pub vectors: u32,
}Fields§
§has_netdev: bool§netdev: *mut c_char§has_macaddr: bool§macaddr: *mut c_char§has_model: bool§model: *mut c_char§has_addr: bool§addr: *mut c_char§has_vectors: bool§vectors: u32Trait Implementations§
Source§impl Clone for NetLegacyNicOptions
impl Clone for NetLegacyNicOptions
Source§fn clone(&self) -> NetLegacyNicOptions
fn clone(&self) -> NetLegacyNicOptions
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 NetLegacyNicOptions
impl Debug for NetLegacyNicOptions
impl Copy for NetLegacyNicOptions
Auto Trait Implementations§
impl Freeze for NetLegacyNicOptions
impl RefUnwindSafe for NetLegacyNicOptions
impl !Send for NetLegacyNicOptions
impl !Sync for NetLegacyNicOptions
impl Unpin for NetLegacyNicOptions
impl UnwindSafe for NetLegacyNicOptions
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