pub struct GPSDetails {
pub header: Header,
pub horizontal_dop: f32,
pub position_dop: f32,
pub fix_state: f32,
pub vertical_accuracy: f32,
pub horizontal_accuracy: f32,
pub speed_accuracy: f32,
pub num_gps_satellites_used: u32,
pub num_glonass_satellites_used: u32,
pub num_total_satellites_used: u16,
pub gps_counter: u16,
}
Fields§
§header: Header
§horizontal_dop: f32
§position_dop: f32
§fix_state: f32
§vertical_accuracy: f32
§horizontal_accuracy: f32
§speed_accuracy: f32
§num_gps_satellites_used: u32
§num_glonass_satellites_used: u32
§num_total_satellites_used: u16
§gps_counter: u16
Implementations§
Source§impl GPSDetails
impl GPSDetails
pub const GPS_FIX_STATE_NO_FIX: u16 = 0u16
pub const GPS_FIX_STATE_DEAD_RECKONING_ONLY: u16 = 1u16
pub const GPS_FIX_STATE_2D_FIX: u16 = 2u16
pub const GPS_FIX_STATE_3D_FIX: u16 = 3u16
pub const GPS_FIX_STATE_GPS_PLUS_DEAD_RECKONING: u16 = 4u16
pub const GPS_FIX_STATE_TIME_ONLY_FIX: u16 = 5u16
Trait Implementations§
Source§impl Clone for GPSDetails
impl Clone for GPSDetails
Source§fn clone(&self) -> GPSDetails
fn clone(&self) -> GPSDetails
Returns a duplicate 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 GPSDetails
impl Debug for GPSDetails
Source§impl Default for GPSDetails
impl Default for GPSDetails
Source§impl<'de> Deserialize<'de> for GPSDetails
impl<'de> Deserialize<'de> for GPSDetails
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 GPSDetails
impl PartialEq for GPSDetails
Source§impl Serialize for GPSDetails
impl Serialize for GPSDetails
impl Message for GPSDetails
impl StructuralPartialEq for GPSDetails
Auto Trait Implementations§
impl Freeze for GPSDetails
impl RefUnwindSafe for GPSDetails
impl Send for GPSDetails
impl Sync for GPSDetails
impl Unpin for GPSDetails
impl UnwindSafe for GPSDetails
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