pub struct MwvData {
pub wind_direction: Option<f32>,
pub reference: Option<MwvReference>,
pub wind_speed: Option<f32>,
pub wind_speed_units: Option<MwvWindSpeedUnits>,
pub data_valid: bool,
}
Expand description
MWV - Wind Speed and Angle
https://gpsd.gitlab.io/gpsd/NMEA.html#_mwv_wind_speed_and_angle
1 2 3 4 5
| | | | |
$--MWV,x.x,a,x.x,a*hh<CR><LF>
Fields§
§wind_direction: Option<f32>
§reference: Option<MwvReference>
§wind_speed: Option<f32>
§wind_speed_units: Option<MwvWindSpeedUnits>
§data_valid: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for MwvData
impl<'de> Deserialize<'de> for MwvData
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<MwvData> for MwvData
impl PartialEq<MwvData> for MwvData
impl StructuralPartialEq for MwvData
Auto Trait Implementations§
impl RefUnwindSafe for MwvData
impl Send for MwvData
impl Sync for MwvData
impl Unpin for MwvData
impl UnwindSafe for MwvData
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