publish members of ParseResult

This commit is contained in:
tkl 2025-01-15 10:37:36 +00:00
parent 299ac0f1cf
commit 0bd2ffa42e

View File

@ -6,10 +6,10 @@ use nmea_parser::*;
#[derive(Debug)] #[derive(Debug)]
pub struct ParseResult { pub struct ParseResult {
lat: f64, pub lat: f64,
lon: f64, pub lon: f64,
timestamp: DateTime<Utc>, pub timestamp: DateTime<Utc>,
speed: f64 pub speed: f64,
} }
pub struct GpsParser { pub struct GpsParser {