#[repr(C, align(2))]pub struct otNetworkDiagChildEntry {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>,
pub mMode: otLinkModeConfig,
}Expand description
This structure represents a Network Diagnostic Child Table Entry.
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u16>§mMode: otLinkModeConfigLink mode bits.
Implementations§
Source§impl otNetworkDiagChildEntry
impl otNetworkDiagChildEntry
pub fn mTimeout(&self) -> u16
pub fn set_mTimeout(&mut self, val: u16)
pub fn mChildId(&self) -> u16
pub fn set_mChildId(&mut self, val: u16)
pub fn new_bitfield_1( mTimeout: u16, mChildId: u16, ) -> __BindgenBitfieldUnit<[u8; 2], u16>
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
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