use crate::LngLat; #[derive(Debug, Default, Clone)] pub struct Trackpoint { pub coordinates: LngLat, pub ele: f64, pub time: Option, pub atemp: Option, pub hr: Option, pub cad: Option, pub power: Option, /// Code of the surface, see [`crate::TrackpointCategories`]. pub surface: Option, /// Code of the highway, see [`crate::TrackpointCategories`]. pub highway: Option, /// Code of the SAC hiking scale, see [`crate::TrackpointCategories`]. pub sac_scale: Option, /// Code of the mountain biking scale, see [`crate::TrackpointCategories`]. pub mtb_scale: Option, /// Whether the trackpoint is an anchor of the routing tool (a point the user can drag to /// reroute the segment): the lowest map zoom level at which it is shown. The first and last /// trackpoints of a segment are always anchors that are always shown (zoom 0). pub anchor: Option, }