pub struct Field {
pub num: u8,
pub profile_type: ProfileType,
pub value: Value,
pub is_expanded: bool,
}
Expand description
Field represents the full representation of a field, as specified in the Global FIT Profile.
Fields§
§num: u8
Defined in the Global FIT profile for the specified FIT message, otherwise its a manufaturer specific number (defined by manufacturer). (255 == invalid)
profile_type: ProfileType
BaseType is the base of the ProfileType. E.g. ProfileType::DateTime -> FitBaseType::Uint32.
value: Value
Value
is_expanded: bool
A flag to detect whether this field is generated through component expansion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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