Struct fit_file::fit_file::FitFileCreatorMsg
source · pub struct FitFileCreatorMsg {
pub hardware_version: Option<u8>,
pub software_version: Option<u16>,
}
Fields§
§hardware_version: Option<u8>
§software_version: Option<u16>
Implementations§
source§impl FitFileCreatorMsg
impl FitFileCreatorMsg
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 FitFileCreatorMsg
impl Send for FitFileCreatorMsg
impl Sync for FitFileCreatorMsg
impl Unpin for FitFileCreatorMsg
impl UnwindSafe for FitFileCreatorMsg
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