diff --git a/src/lib.rs b/src/lib.rs index abee497..1768034 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,10 +6,10 @@ use nmea_parser::*; #[derive(Debug)] pub struct ParseResult { - lat: f64, - lon: f64, - timestamp: DateTime, - speed: f64 + pub lat: f64, + pub lon: f64, + pub timestamp: DateTime, + pub speed: f64, } pub struct GpsParser {