pub struct TrackPoint {
pub id: Option<i64>,
pub activity_id: i64,
pub timestamp: DateTime<Utc>,
pub lat: Option<f64>,
pub lon: Option<f64>,
pub elevation: Option<f64>,
pub heart_rate: Option<i32>,
pub cadence: Option<i32>,
pub power: Option<i32>,
pub speed: Option<f64>,
}Expand description
GPS track point with sensor data
Fields§
§id: Option<i64>§activity_id: i64§timestamp: DateTime<Utc>§lat: Option<f64>§lon: Option<f64>§elevation: Option<f64>§heart_rate: Option<i32>§cadence: Option<i32>§power: Option<i32>§speed: Option<f64>Trait Implementations§
Source§impl Clone for TrackPoint
impl Clone for TrackPoint
Source§fn clone(&self) -> TrackPoint
fn clone(&self) -> TrackPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackPoint
impl Debug for TrackPoint
Source§impl<'de> Deserialize<'de> for TrackPoint
impl<'de> Deserialize<'de> for TrackPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrackPoint
impl RefUnwindSafe for TrackPoint
impl Send for TrackPoint
impl Sync for TrackPoint
impl Unpin for TrackPoint
impl UnsafeUnpin for TrackPoint
impl UnwindSafe for TrackPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more