Struct openthread_sys::otLeaderData
source · #[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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)