Struct sbp::messages::gnss::gps_time_dep::GpsTimeDep
source · pub struct GpsTimeDep {
pub tow: u32,
pub wn: u16,
}
Expand description
Millisecond-accurate GPS time
A wire-appropriate GPS time, defined as the number of milliseconds since beginning of the week on the Saturday/Sunday transition.
Fields§
§tow: u32
Milliseconds since start of GPS week
wn: u16
GPS week number
Trait Implementations§
source§impl Clone for GpsTimeDep
impl Clone for GpsTimeDep
source§fn clone(&self) -> GpsTimeDep
fn clone(&self) -> GpsTimeDep
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 GpsTimeDep
impl Debug for GpsTimeDep
source§impl<'de> Deserialize<'de> for GpsTimeDep
impl<'de> Deserialize<'de> for GpsTimeDep
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GpsTimeDep
impl PartialEq for GpsTimeDep
source§fn eq(&self, other: &GpsTimeDep) -> bool
fn eq(&self, other: &GpsTimeDep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GpsTimeDep
impl Serialize for GpsTimeDep
impl StructuralPartialEq for GpsTimeDep
Auto Trait Implementations§
impl Freeze for GpsTimeDep
impl RefUnwindSafe for GpsTimeDep
impl Send for GpsTimeDep
impl Sync for GpsTimeDep
impl Unpin for GpsTimeDep
impl UnwindSafe for GpsTimeDep
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