pub struct VtgData {
pub true_course: Option<f32>,
pub speed_over_ground: Option<f32>,
}
Expand description
VTG - Track made good and Ground speed
https://gpsd.gitlab.io/gpsd/NMEA.html#_vtg_track_made_good_and_ground_speed
1 2 3 4 5 6 7 8 9
| | | | | | | | |
$--VTG,x.x,T,x.x,M,x.x,N,x.x,K*hh<CR><LF>
$--VTG,x.x,T,x.x,M,x.x,N,x.x,K,m*hh<CR><LF>
Fields§
§true_course: Option<f32>
§speed_over_ground: Option<f32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for VtgData
impl<'de> Deserialize<'de> for VtgData
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<VtgData> for VtgData
impl PartialEq<VtgData> for VtgData
impl Copy for VtgData
impl StructuralPartialEq for VtgData
Auto Trait Implementations§
impl RefUnwindSafe for VtgData
impl Send for VtgData
impl Sync for VtgData
impl Unpin for VtgData
impl UnwindSafe for VtgData
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