#[repr(C)]pub struct otThreadDiscoveryRequestInfo {
pub mExtAddress: otExtAddress,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Expand description
Represents the Thread Discovery Request data.
Fields§
§mExtAddress: otExtAddress< IEEE 802.15.4 Extended Address of the requester
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl otThreadDiscoveryRequestInfo
impl otThreadDiscoveryRequestInfo
pub fn mVersion(&self) -> u8
pub fn set_mVersion(&mut self, val: u8)
pub unsafe fn mVersion_raw(this: *const Self) -> u8
pub unsafe fn set_mVersion_raw(this: *mut Self, val: u8)
pub fn mIsJoiner(&self) -> bool
pub fn set_mIsJoiner(&mut self, val: bool)
pub unsafe fn mIsJoiner_raw(this: *const Self) -> bool
pub unsafe fn set_mIsJoiner_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( mVersion: u8, mIsJoiner: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for otThreadDiscoveryRequestInfo
impl Clone for otThreadDiscoveryRequestInfo
impl Copy for otThreadDiscoveryRequestInfo
Source§impl Debug for otThreadDiscoveryRequestInfo
impl Debug for otThreadDiscoveryRequestInfo
Auto Trait Implementations§
impl Freeze for otThreadDiscoveryRequestInfo
impl RefUnwindSafe for otThreadDiscoveryRequestInfo
impl Send for otThreadDiscoveryRequestInfo
impl Sync for otThreadDiscoveryRequestInfo
impl Unpin for otThreadDiscoveryRequestInfo
impl UnsafeUnpin for otThreadDiscoveryRequestInfo
impl UnwindSafe for otThreadDiscoveryRequestInfo
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