pub struct DeviceTime {
pub gps_seconds: u32,
pub fraction: u8,
}Expand description
The time a network gave a device.
Fields§
§gps_seconds: u32Whole seconds since the GPS epoch, 1980-01-06 00:00:00 UTC, at the end of the uplink that asked.
fraction: u8The fraction of a second, in 256ths.
Trait Implementations§
Source§impl Clone for DeviceTime
impl Clone for DeviceTime
Source§fn clone(&self) -> DeviceTime
fn clone(&self) -> DeviceTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceTime
Source§impl Debug for DeviceTime
impl Debug for DeviceTime
impl Eq for DeviceTime
Source§impl Hash for DeviceTime
impl Hash for DeviceTime
Source§impl PartialEq for DeviceTime
impl PartialEq for DeviceTime
impl StructuralPartialEq for DeviceTime
Auto Trait Implementations§
impl Freeze for DeviceTime
impl RefUnwindSafe for DeviceTime
impl Send for DeviceTime
impl Sync for DeviceTime
impl Unpin for DeviceTime
impl UnsafeUnpin for DeviceTime
impl UnwindSafe for DeviceTime
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