mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
13 lines
318 B
Rust
13 lines
318 B
Rust
use crate::gpx::LngLat;
|
|||
|
|
|
||
|
|
#[derive(Debug, Default)]
|
||
|
|
pub struct TrackPoint {
|
||
|
|
pub coordinates: LngLat,
|
||
|
|
pub ele: f64,
|
||
|
|
pub time: Option<i64>,
|
||
|
|
pub hr: Option<u16>,
|
||
|
|
pub cad: Option<u16>,
|
||
|
|
pub power: Option<u16>,
|
||
|
|
pub atemp: Option<i16>,
|
||
|
|
// TODO OSM data? or store intervals at a higher level?
|
||
|
|
}
|