Struct openthread_sys::otTimestamp
source · #[repr(C)]pub struct otTimestamp {
pub mSeconds: u64,
pub mTicks: u16,
pub mAuthoritative: bool,
}
Expand description
Represents a Thread Dataset timestamp component.
Fields§
§mSeconds: u64
§mTicks: u16
§mAuthoritative: bool
Trait Implementations§
source§impl Clone for otTimestamp
impl Clone for otTimestamp
source§fn clone(&self) -> otTimestamp
fn clone(&self) -> otTimestamp
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 otTimestamp
impl Debug for otTimestamp
source§impl Default for otTimestamp
impl Default for otTimestamp
source§fn default() -> otTimestamp
fn default() -> otTimestamp
Returns the “default value” for a type. Read more
impl Copy for otTimestamp
Auto Trait Implementations§
impl Freeze for otTimestamp
impl RefUnwindSafe for otTimestamp
impl Send for otTimestamp
impl Sync for otTimestamp
impl Unpin for otTimestamp
impl UnwindSafe for otTimestamp
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
)