Struct fit_file::fit_file::FitLengthMsg
source · pub struct FitLengthMsg {Show 18 fields
pub opponent_score: Option<u16>,
pub stroke_count: Option<u16>,
pub zone_count: Option<u16>,
pub length_type: Option<u8>,
pub total_elapsed_time: Option<u32>,
pub player_score: Option<u16>,
pub timestamp: Option<u32>,
pub swim_stroke: Option<u8>,
pub total_timer_time: Option<u32>,
pub total_calories: Option<u16>,
pub start_time: Option<u32>,
pub message_index: Option<u16>,
pub event: Option<u8>,
pub total_strokes: Option<u16>,
pub event_type: Option<u8>,
pub avg_swimming_cadence: Option<u8>,
pub event_group: Option<u8>,
pub avg_speed: Option<u16>,
}
Fields§
§opponent_score: Option<u16>
§stroke_count: Option<u16>
§zone_count: Option<u16>
§length_type: Option<u8>
§total_elapsed_time: Option<u32>
§player_score: Option<u16>
§timestamp: Option<u32>
§swim_stroke: Option<u8>
§total_timer_time: Option<u32>
§total_calories: Option<u16>
§start_time: Option<u32>
§message_index: Option<u16>
§event: Option<u8>
§total_strokes: Option<u16>
§event_type: Option<u8>
§avg_swimming_cadence: Option<u8>
§event_group: Option<u8>
§avg_speed: Option<u16>
Implementations§
source§impl FitLengthMsg
impl FitLengthMsg
sourcepub fn new(fields: Vec<FitFieldValue>) -> Self
pub fn new(fields: Vec<FitFieldValue>) -> Self
Constructor: Takes the fields that were read by the file parser and puts them into a structure.
Auto Trait Implementations§
impl RefUnwindSafe for FitLengthMsg
impl Send for FitLengthMsg
impl Sync for FitLengthMsg
impl Unpin for FitLengthMsg
impl UnwindSafe for FitLengthMsg
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