#[repr(C)]pub struct otLeaderData {
pub mPartitionId: u32,
pub mWeighting: u8,
pub mDataVersion: u8,
pub mStableDataVersion: u8,
pub mLeaderRouterId: u8,
}
Expand description
Represents the Thread Leader Data.
Fields§
§mPartitionId: u32
< Partition ID
mWeighting: u8
< Leader Weight
mDataVersion: u8
< Full Network Data Version
mStableDataVersion: u8
< Stable Network Data Version
mLeaderRouterId: u8
< Leader Router ID
Trait Implementations§
Source§impl Clone for otLeaderData
impl Clone for otLeaderData
Source§fn clone(&self) -> otLeaderData
fn clone(&self) -> otLeaderData
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 otLeaderData
impl Debug for otLeaderData
Source§impl Default for otLeaderData
impl Default for otLeaderData
Source§fn default() -> otLeaderData
fn default() -> otLeaderData
Returns the “default value” for a type. Read more
impl Copy for otLeaderData
Auto Trait Implementations§
impl Freeze for otLeaderData
impl RefUnwindSafe for otLeaderData
impl Send for otLeaderData
impl Sync for otLeaderData
impl Unpin for otLeaderData
impl UnwindSafe for otLeaderData
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
)