#[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 fn mIsJoiner(&self) -> bool
pub fn set_mIsJoiner(&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
Source§fn clone(&self) -> otThreadDiscoveryRequestInfo
fn clone(&self) -> otThreadDiscoveryRequestInfo
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 otThreadDiscoveryRequestInfo
impl Debug for otThreadDiscoveryRequestInfo
Source§impl Default for otThreadDiscoveryRequestInfo
impl Default for otThreadDiscoveryRequestInfo
Source§fn default() -> otThreadDiscoveryRequestInfo
fn default() -> otThreadDiscoveryRequestInfo
Returns the “default value” for a type. Read more
impl Copy 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 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
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
)