pub enum Value {
}
Expand description
Contains arbitrary data in the defined format.
Variants§
Timestamp(DateTime<Local>)
Timestamp field converted to the local timezone
Byte(u8)
Unsigned 8bit integer data
Enum(u8)
Unsigned 8bit integer that gets mapped to a FieldType enum
SInt8(i8)
Signed 8bit integer data
UInt8(u8)
Unsigned 8bit integer data
SInt16(i16)
Signed 16bit integer data
UInt16(u16)
Unsigned 16bit integer data
SInt32(i32)
Signed 32bit integer data
UInt32(u32)
Unsigned 32bit integer data
String(String)
UTF-8 format string data
Float32(f32)
32bit floating point data
Float64(f64)
64bit floating point data
UInt8z(u8)
Unsigned 8bit integer data where the invalid value is 0x0
instead of 0xFF
UInt16z(u16)
Unsigned 16bit integer data where the invalid value is 0x0
instead of 0xFFFF
UInt32z(u32)
Unsigned 16bit integer data where the invalid value is 0x0
instead of 0xFFFFFFFF
SInt64(i64)
Signed 64bit integer data
UInt64(u64)
Unsigned 64bit integer data
UInt64z(u64)
Unsigned 64bit integer data where the invalid value is 0x0
instead of 0xFFFFFFFFFFFFFFFF
Array(Vec<Self>)
Array of Values, while this allows nested arrays and mixed types this is not possible in a properly formatted FIT file
Trait Implementations§
source§impl From<TimestampField> for Value
impl From<TimestampField> for Value
source§fn from(timestamp: TimestampField) -> Value
fn from(timestamp: TimestampField) -> Value
source§impl PartialEq for Value
impl PartialEq for Value
source§impl PartialOrd for Value
impl PartialOrd for Value
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more