usechrono::{DateTime, Utc};/// A sample on an elevation profile: distance versus elevation.
#[derive(Debug, Clone, PartialEq)]pubstructProfilePoint{/// Cumulative horizontal distance from the path start, in meters.
pubdistance_m:f64,
/// Elevation at this distance, in meters.
pubvalue:f64,
}/// A sample on a speed profile: timestamp versus speed.
#[derive(Debug, Clone, PartialEq)]pubstructSpeedProfilePoint{/// Timestamp at the start of the leg.
pubtime:DateTime<Utc>,
/// Speed over the leg, in m/s.
pubspeed_mps:f64,
}