pub struct DbkData {
pub depth_feet: Option<f64>,
pub depth_meters: Option<f64>,
pub depth_fathoms: Option<f64>,
}
Expand description
DBK - Depth Below Keel
https://gpsd.gitlab.io/gpsd/NMEA.html#_dbk_depth_below_keel
1 2 3 4 5 6 7
| | | | | | |
$--DBK,x.x,f,x.x,M,x.x,F*hh<CR><LF>
1: Depth, feet 2: f = feet 3: Depth, meters 4: M = meters 5: Depth, Fathoms 6: F = Fathoms 7: Mandatory NMEA checksum
Fields§
§depth_feet: Option<f64>
§depth_meters: Option<f64>
§depth_fathoms: Option<f64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for DbkData
impl<'de> Deserialize<'de> for DbkData
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 From<DbkData> for ParseResult
impl From<DbkData> for ParseResult
source§impl PartialEq<DbkData> for DbkData
impl PartialEq<DbkData> for DbkData
impl StructuralPartialEq for DbkData
Auto Trait Implementations§
impl RefUnwindSafe for DbkData
impl Send for DbkData
impl Sync for DbkData
impl Unpin for DbkData
impl UnwindSafe for DbkData
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