pub enum LocalDeviceType {
Gps,
Glonass,
GpsGlonass,
Accelerometer,
Barometer,
Temperature,
Whr,
SensorHub,
Value(u8),
}
Variants§
Gps
Onboard gps receiver
Glonass
Onboard glonass receiver
GpsGlonass
Onboard gps glonass receiver
Accelerometer
Onboard sensor
Barometer
Onboard sensor
Temperature
Onboard sensor
Whr
Onboard wrist HR sensor
SensorHub
Onboard software package
Value(u8)
Implementations§
Trait Implementations§
Source§impl Clone for LocalDeviceType
impl Clone for LocalDeviceType
Source§fn clone(&self) -> LocalDeviceType
fn clone(&self) -> LocalDeviceType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocalDeviceType
impl Debug for LocalDeviceType
Source§impl Display for LocalDeviceType
impl Display for LocalDeviceType
Source§impl From<&str> for LocalDeviceType
impl From<&str> for LocalDeviceType
Source§impl From<i64> for LocalDeviceType
impl From<i64> for LocalDeviceType
Source§impl From<u8> for LocalDeviceType
impl From<u8> for LocalDeviceType
Source§impl Hash for LocalDeviceType
impl Hash for LocalDeviceType
Source§impl Ord for LocalDeviceType
impl Ord for LocalDeviceType
Source§fn cmp(&self, other: &LocalDeviceType) -> Ordering
fn cmp(&self, other: &LocalDeviceType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalDeviceType
impl PartialEq for LocalDeviceType
Source§impl PartialOrd for LocalDeviceType
impl PartialOrd for LocalDeviceType
Source§impl Serialize for LocalDeviceType
impl Serialize for LocalDeviceType
impl Copy for LocalDeviceType
impl Eq for LocalDeviceType
impl StructuralPartialEq for LocalDeviceType
Auto Trait Implementations§
impl Freeze for LocalDeviceType
impl RefUnwindSafe for LocalDeviceType
impl Send for LocalDeviceType
impl Sync for LocalDeviceType
impl Unpin for LocalDeviceType
impl UnwindSafe for LocalDeviceType
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