pub struct FitMessageSegmentLap {Show 94 fields
pub raw_bytes: Vec<u8>,
pub subfield_field_numbers: Vec<u8>,
pub message_name: &'static str,
pub message_index: FitFieldBasicValue<FitFieldMessageIndex>,
pub timestamp: FitFieldBasicValue<FitFieldDateTime>,
pub event: FitFieldBasicValue<FitFieldEvent>,
pub event_type: FitFieldBasicValue<FitFieldEventType>,
pub start_time: FitFieldBasicValue<FitFieldDateTime>,
pub start_position_lat: FitFieldAdjustedValue<FitSint32>,
pub start_position_long: FitFieldAdjustedValue<FitSint32>,
pub end_position_lat: FitFieldAdjustedValue<FitSint32>,
pub end_position_long: FitFieldAdjustedValue<FitSint32>,
pub total_elapsed_time: FitFieldAdjustedValue<FitUint32>,
pub total_timer_time: FitFieldAdjustedValue<FitUint32>,
pub total_distance: FitFieldAdjustedValue<FitUint32>,
pub total_cycles_subfield_bytes: Vec<u8>,
pub total_cycles: FitMessageSegmentLapSubfieldTotalCycles,
pub total_calories: FitFieldBasicValue<FitUint16>,
pub total_fat_calories: FitFieldBasicValue<FitUint16>,
pub avg_speed: FitFieldAdjustedValue<FitUint16>,
pub max_speed: FitFieldAdjustedValue<FitUint16>,
pub avg_heart_rate: FitFieldBasicValue<FitUint8>,
pub max_heart_rate: FitFieldBasicValue<FitUint8>,
pub avg_cadence: FitFieldBasicValue<FitUint8>,
pub max_cadence: FitFieldBasicValue<FitUint8>,
pub avg_power: FitFieldBasicValue<FitUint16>,
pub max_power: FitFieldBasicValue<FitUint16>,
pub total_ascent: FitFieldBasicValue<FitUint16>,
pub total_descent: FitFieldBasicValue<FitUint16>,
pub sport: FitFieldBasicValue<FitFieldSport>,
pub event_group: FitFieldBasicValue<FitUint8>,
pub nec_lat: FitFieldAdjustedValue<FitSint32>,
pub nec_long: FitFieldAdjustedValue<FitSint32>,
pub swc_lat: FitFieldAdjustedValue<FitSint32>,
pub swc_long: FitFieldAdjustedValue<FitSint32>,
pub name: FitFieldBasicValue<FitString>,
pub normalized_power: FitFieldBasicValue<FitUint16>,
pub left_right_balance: FitFieldBasicValue<FitFieldLeftRightBalance100>,
pub sub_sport: FitFieldBasicValue<FitFieldSubSport>,
pub total_work: FitFieldBasicValue<FitUint32>,
pub avg_altitude: FitFieldAdjustedValue<FitUint16>,
pub max_altitude: FitFieldAdjustedValue<FitUint16>,
pub gps_accuracy: FitFieldBasicValue<FitUint8>,
pub avg_grade: FitFieldAdjustedValue<FitSint16>,
pub avg_pos_grade: FitFieldAdjustedValue<FitSint16>,
pub avg_neg_grade: FitFieldAdjustedValue<FitSint16>,
pub max_pos_grade: FitFieldAdjustedValue<FitSint16>,
pub max_neg_grade: FitFieldAdjustedValue<FitSint16>,
pub avg_temperature: FitFieldBasicValue<FitSint8>,
pub max_temperature: FitFieldBasicValue<FitSint8>,
pub total_moving_time: FitFieldAdjustedValue<FitUint32>,
pub avg_pos_vertical_speed: FitFieldAdjustedValue<FitSint16>,
pub avg_neg_vertical_speed: FitFieldAdjustedValue<FitSint16>,
pub max_pos_vertical_speed: FitFieldAdjustedValue<FitSint16>,
pub max_neg_vertical_speed: FitFieldAdjustedValue<FitSint16>,
pub time_in_hr_zone: FitFieldAdjustedValue<FitUint32>,
pub time_in_speed_zone: FitFieldAdjustedValue<FitUint32>,
pub time_in_cadence_zone: FitFieldAdjustedValue<FitUint32>,
pub time_in_power_zone: FitFieldAdjustedValue<FitUint32>,
pub repetition_num: FitFieldBasicValue<FitUint16>,
pub min_altitude: FitFieldAdjustedValue<FitUint16>,
pub min_heart_rate: FitFieldBasicValue<FitUint8>,
pub active_time: FitFieldAdjustedValue<FitUint32>,
pub wkt_step_index: FitFieldBasicValue<FitFieldMessageIndex>,
pub sport_event: FitFieldBasicValue<FitFieldSportEvent>,
pub avg_left_torque_effectiveness: FitFieldAdjustedValue<FitUint8>,
pub avg_right_torque_effectiveness: FitFieldAdjustedValue<FitUint8>,
pub avg_left_pedal_smoothness: FitFieldAdjustedValue<FitUint8>,
pub avg_right_pedal_smoothness: FitFieldAdjustedValue<FitUint8>,
pub avg_combined_pedal_smoothness: FitFieldAdjustedValue<FitUint8>,
pub status: FitFieldBasicValue<FitFieldSegmentLapStatus>,
pub uuid: FitFieldBasicValue<FitString>,
pub avg_fractional_cadence: FitFieldAdjustedValue<FitUint8>,
pub max_fractional_cadence: FitFieldAdjustedValue<FitUint8>,
pub total_fractional_cycles: FitFieldAdjustedValue<FitUint8>,
pub front_gear_shift_count: FitFieldBasicValue<FitUint16>,
pub rear_gear_shift_count: FitFieldBasicValue<FitUint16>,
pub time_standing: FitFieldAdjustedValue<FitUint32>,
pub stand_count: FitFieldBasicValue<FitUint16>,
pub avg_left_pco: FitFieldBasicValue<FitSint8>,
pub avg_right_pco: FitFieldBasicValue<FitSint8>,
pub avg_left_power_phase: FitFieldAdjustedValue<FitUint8>,
pub avg_left_power_phase_peak: FitFieldAdjustedValue<FitUint8>,
pub avg_right_power_phase: FitFieldAdjustedValue<FitUint8>,
pub avg_right_power_phase_peak: FitFieldAdjustedValue<FitUint8>,
pub avg_power_position: FitFieldBasicValue<FitUint16>,
pub max_power_position: FitFieldBasicValue<FitUint16>,
pub avg_cadence_position: FitFieldBasicValue<FitUint8>,
pub max_cadence_position: FitFieldBasicValue<FitUint8>,
pub manufacturer: FitFieldBasicValue<FitFieldManufacturer>,
pub total_grit: FitFieldBasicValue<FitFloat32>,
pub total_flow: FitFieldBasicValue<FitFloat32>,
pub avg_grit: FitFieldBasicValue<FitFloat32>,
pub avg_flow: FitFieldBasicValue<FitFloat32>,
/* private fields */
}
Fields§
§raw_bytes: Vec<u8>
§subfield_field_numbers: Vec<u8>
§message_name: &'static str
§message_index: FitFieldBasicValue<FitFieldMessageIndex>
§timestamp: FitFieldBasicValue<FitFieldDateTime>
§event: FitFieldBasicValue<FitFieldEvent>
§event_type: FitFieldBasicValue<FitFieldEventType>
§start_time: FitFieldBasicValue<FitFieldDateTime>
§start_position_lat: FitFieldAdjustedValue<FitSint32>
§start_position_long: FitFieldAdjustedValue<FitSint32>
§end_position_lat: FitFieldAdjustedValue<FitSint32>
§end_position_long: FitFieldAdjustedValue<FitSint32>
§total_elapsed_time: FitFieldAdjustedValue<FitUint32>
§total_timer_time: FitFieldAdjustedValue<FitUint32>
§total_distance: FitFieldAdjustedValue<FitUint32>
§total_cycles_subfield_bytes: Vec<u8>
§total_cycles: FitMessageSegmentLapSubfieldTotalCycles
§total_calories: FitFieldBasicValue<FitUint16>
§total_fat_calories: FitFieldBasicValue<FitUint16>
§avg_speed: FitFieldAdjustedValue<FitUint16>
§max_speed: FitFieldAdjustedValue<FitUint16>
§avg_heart_rate: FitFieldBasicValue<FitUint8>
§max_heart_rate: FitFieldBasicValue<FitUint8>
§avg_cadence: FitFieldBasicValue<FitUint8>
§max_cadence: FitFieldBasicValue<FitUint8>
§avg_power: FitFieldBasicValue<FitUint16>
§max_power: FitFieldBasicValue<FitUint16>
§total_ascent: FitFieldBasicValue<FitUint16>
§total_descent: FitFieldBasicValue<FitUint16>
§sport: FitFieldBasicValue<FitFieldSport>
§event_group: FitFieldBasicValue<FitUint8>
§nec_lat: FitFieldAdjustedValue<FitSint32>
§nec_long: FitFieldAdjustedValue<FitSint32>
§swc_lat: FitFieldAdjustedValue<FitSint32>
§swc_long: FitFieldAdjustedValue<FitSint32>
§name: FitFieldBasicValue<FitString>
§normalized_power: FitFieldBasicValue<FitUint16>
§left_right_balance: FitFieldBasicValue<FitFieldLeftRightBalance100>
§sub_sport: FitFieldBasicValue<FitFieldSubSport>
§total_work: FitFieldBasicValue<FitUint32>
§avg_altitude: FitFieldAdjustedValue<FitUint16>
§max_altitude: FitFieldAdjustedValue<FitUint16>
§gps_accuracy: FitFieldBasicValue<FitUint8>
§avg_grade: FitFieldAdjustedValue<FitSint16>
§avg_pos_grade: FitFieldAdjustedValue<FitSint16>
§avg_neg_grade: FitFieldAdjustedValue<FitSint16>
§max_pos_grade: FitFieldAdjustedValue<FitSint16>
§max_neg_grade: FitFieldAdjustedValue<FitSint16>
§avg_temperature: FitFieldBasicValue<FitSint8>
§max_temperature: FitFieldBasicValue<FitSint8>
§total_moving_time: FitFieldAdjustedValue<FitUint32>
§avg_pos_vertical_speed: FitFieldAdjustedValue<FitSint16>
§avg_neg_vertical_speed: FitFieldAdjustedValue<FitSint16>
§max_pos_vertical_speed: FitFieldAdjustedValue<FitSint16>
§max_neg_vertical_speed: FitFieldAdjustedValue<FitSint16>
§time_in_hr_zone: FitFieldAdjustedValue<FitUint32>
§time_in_speed_zone: FitFieldAdjustedValue<FitUint32>
§time_in_cadence_zone: FitFieldAdjustedValue<FitUint32>
§time_in_power_zone: FitFieldAdjustedValue<FitUint32>
§repetition_num: FitFieldBasicValue<FitUint16>
§min_altitude: FitFieldAdjustedValue<FitUint16>
§min_heart_rate: FitFieldBasicValue<FitUint8>
§active_time: FitFieldAdjustedValue<FitUint32>
§wkt_step_index: FitFieldBasicValue<FitFieldMessageIndex>
§sport_event: FitFieldBasicValue<FitFieldSportEvent>
§avg_left_torque_effectiveness: FitFieldAdjustedValue<FitUint8>
§avg_right_torque_effectiveness: FitFieldAdjustedValue<FitUint8>
§avg_left_pedal_smoothness: FitFieldAdjustedValue<FitUint8>
§avg_right_pedal_smoothness: FitFieldAdjustedValue<FitUint8>
§avg_combined_pedal_smoothness: FitFieldAdjustedValue<FitUint8>
§status: FitFieldBasicValue<FitFieldSegmentLapStatus>
§uuid: FitFieldBasicValue<FitString>
§avg_fractional_cadence: FitFieldAdjustedValue<FitUint8>
§max_fractional_cadence: FitFieldAdjustedValue<FitUint8>
§total_fractional_cycles: FitFieldAdjustedValue<FitUint8>
§front_gear_shift_count: FitFieldBasicValue<FitUint16>
§rear_gear_shift_count: FitFieldBasicValue<FitUint16>
§time_standing: FitFieldAdjustedValue<FitUint32>
§stand_count: FitFieldBasicValue<FitUint16>
§avg_left_pco: FitFieldBasicValue<FitSint8>
§avg_right_pco: FitFieldBasicValue<FitSint8>
§avg_left_power_phase: FitFieldAdjustedValue<FitUint8>
§avg_left_power_phase_peak: FitFieldAdjustedValue<FitUint8>
§avg_right_power_phase: FitFieldAdjustedValue<FitUint8>
§avg_right_power_phase_peak: FitFieldAdjustedValue<FitUint8>
§avg_power_position: FitFieldBasicValue<FitUint16>
§max_power_position: FitFieldBasicValue<FitUint16>
§avg_cadence_position: FitFieldBasicValue<FitUint8>
§max_cadence_position: FitFieldBasicValue<FitUint8>
§manufacturer: FitFieldBasicValue<FitFieldManufacturer>
§total_grit: FitFieldBasicValue<FitFloat32>
§total_flow: FitFieldBasicValue<FitFloat32>
§avg_grit: FitFieldBasicValue<FitFloat32>
§avg_flow: FitFieldBasicValue<FitFloat32>
Implementations§
Source§impl FitMessageSegmentLap
impl FitMessageSegmentLap
pub fn field_name(field_number: u8) -> &'static str
pub fn new( header: FitRecordHeader, parsing_state: &FitParsingState, ) -> Result<FitMessageSegmentLap>
Trait Implementations§
Source§impl Debug for FitMessageSegmentLap
impl Debug for FitMessageSegmentLap
Auto Trait Implementations§
impl Freeze for FitMessageSegmentLap
impl RefUnwindSafe for FitMessageSegmentLap
impl !Send for FitMessageSegmentLap
impl !Sync for FitMessageSegmentLap
impl Unpin for FitMessageSegmentLap
impl UnwindSafe for FitMessageSegmentLap
Blanket Implementations§
Source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
Source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
Source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
Source§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
Source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
Source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
Source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
Source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.