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 Freeze for FitFileCreatorMsg
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