#[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§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
)