[−][src]Enum fitparser::Value
Contains arbitrary data in the defined format.
Variants
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
impl Clone for Value
[src]
impl Debug for Value
[src]
impl Display for Value
[src]
impl PartialEq<Value> for Value
[src]
impl PartialOrd<Value> for Value
[src]
fn partial_cmp(&self, other: &Value) -> Option<Ordering>
[src]
fn lt(&self, other: &Value) -> bool
[src]
fn le(&self, other: &Value) -> bool
[src]
fn gt(&self, other: &Value) -> bool
[src]
fn ge(&self, other: &Value) -> bool
[src]
impl Serialize for Value
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Value
[src]
impl TryInto<f64> for Value
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<f64>
[src]
impl TryInto<i64> for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,