#[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§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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)