Enum garminfit::profile::messages::DeviceInfo
source · pub enum DeviceInfo {
Show 19 variants
Timestamp(Field<DateTime>),
DeviceIndex(Field<DeviceIndex>),
DeviceType(Field<Uint8>),
Manufacturer(Field<Manufacturer>),
SerialNumber(Field<Uint32z>),
Product(Field<Uint16>),
SoftwareVersion(Field<Uint16>),
HardwareVersion(Field<Uint8>),
CumOperatingTime(Field<Uint32>),
BatteryVoltage(Field<Uint16>),
BatteryStatus(Field<BatteryStatus>),
SensorPosition(Field<BodyLocation>),
Descriptor(Field<Utf8String>),
AntTransmissionType(Field<Uint8z>),
AntDeviceNumber(Field<Uint16z>),
AntNetwork(Field<AntNetwork>),
SourceType(Field<SourceType>),
ProductName(Field<Utf8String>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
DeviceIndex(Field<DeviceIndex>)
DeviceType(Field<Uint8>)
Manufacturer(Field<Manufacturer>)
SerialNumber(Field<Uint32z>)
Product(Field<Uint16>)
SoftwareVersion(Field<Uint16>)
HardwareVersion(Field<Uint8>)
CumOperatingTime(Field<Uint32>)
Reset by new battery or charge.
BatteryVoltage(Field<Uint16>)
BatteryStatus(Field<BatteryStatus>)
SensorPosition(Field<BodyLocation>)
Indicates the location of the sensor
Descriptor(Field<Utf8String>)
Used to describe the sensor or location
AntTransmissionType(Field<Uint8z>)
AntDeviceNumber(Field<Uint16z>)
AntNetwork(Field<AntNetwork>)
SourceType(Field<SourceType>)
ProductName(Field<Utf8String>)
Optional free form string to indicate the devices name or model
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more