#[repr(C)]pub struct otNetworkDiagChildEntry {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub mMode: otLinkModeConfig,
}
Expand description
Represents a Network Diagnostic Child Table Entry.
Fields§
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§mMode: otLinkModeConfig
< Link mode.
Implementations§
Source§impl otNetworkDiagChildEntry
impl otNetworkDiagChildEntry
pub fn mTimeout(&self) -> u16
pub fn set_mTimeout(&mut self, val: u16)
pub fn mLinkQuality(&self) -> u8
pub fn set_mLinkQuality(&mut self, val: u8)
pub fn mChildId(&self) -> u16
pub fn set_mChildId(&mut self, val: u16)
pub fn new_bitfield_1( mTimeout: u16, mLinkQuality: u8, mChildId: u16, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for otNetworkDiagChildEntry
impl Clone for otNetworkDiagChildEntry
Source§fn clone(&self) -> otNetworkDiagChildEntry
fn clone(&self) -> otNetworkDiagChildEntry
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 otNetworkDiagChildEntry
impl Debug for otNetworkDiagChildEntry
Source§impl Default for otNetworkDiagChildEntry
impl Default for otNetworkDiagChildEntry
Source§fn default() -> otNetworkDiagChildEntry
fn default() -> otNetworkDiagChildEntry
Returns the “default value” for a type. Read more
impl Copy for otNetworkDiagChildEntry
Auto Trait Implementations§
impl Freeze for otNetworkDiagChildEntry
impl RefUnwindSafe for otNetworkDiagChildEntry
impl Send for otNetworkDiagChildEntry
impl Sync for otNetworkDiagChildEntry
impl Unpin for otNetworkDiagChildEntry
impl UnwindSafe for otNetworkDiagChildEntry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)