#[repr(C)]pub struct otCommissioningDataset {
pub mLocator: u16,
pub mSessionId: u16,
pub mSteeringData: otSteeringData,
pub mJoinerUdpPort: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u8,
}
Expand description
Represents a Commissioning Dataset.
Fields§
§mLocator: u16
< Border Router RLOC16
mSessionId: u16
< Commissioner Session Id
mSteeringData: otSteeringData
< Steering Data
mJoinerUdpPort: u16
< Joiner UDP Port
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: u8
Implementations§
Source§impl otCommissioningDataset
impl otCommissioningDataset
pub fn mIsLocatorSet(&self) -> bool
pub fn set_mIsLocatorSet(&mut self, val: bool)
pub fn mIsSessionIdSet(&self) -> bool
pub fn set_mIsSessionIdSet(&mut self, val: bool)
pub fn mIsSteeringDataSet(&self) -> bool
pub fn set_mIsSteeringDataSet(&mut self, val: bool)
pub fn mIsJoinerUdpPortSet(&self) -> bool
pub fn set_mIsJoinerUdpPortSet(&mut self, val: bool)
pub fn mHasExtraTlv(&self) -> bool
pub fn set_mHasExtraTlv(&mut self, val: bool)
pub fn new_bitfield_1( mIsLocatorSet: bool, mIsSessionIdSet: bool, mIsSteeringDataSet: bool, mIsJoinerUdpPortSet: bool, mHasExtraTlv: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for otCommissioningDataset
impl Clone for otCommissioningDataset
Source§fn clone(&self) -> otCommissioningDataset
fn clone(&self) -> otCommissioningDataset
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 otCommissioningDataset
impl Debug for otCommissioningDataset
Source§impl Default for otCommissioningDataset
impl Default for otCommissioningDataset
Source§fn default() -> otCommissioningDataset
fn default() -> otCommissioningDataset
Returns the “default value” for a type. Read more
impl Copy for otCommissioningDataset
Auto Trait Implementations§
impl Freeze for otCommissioningDataset
impl RefUnwindSafe for otCommissioningDataset
impl Send for otCommissioningDataset
impl Sync for otCommissioningDataset
impl Unpin for otCommissioningDataset
impl UnwindSafe for otCommissioningDataset
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
)