#[repr(i32)]pub enum PbDataType {
Show 52 variants
TypeUndefined = 0,
TypeInherited = 1,
TypeEnum = 2,
TypeMillis = 3,
TypeSecond = 4,
TypeMinute = 5,
TypeHour = 6,
TypeHours = 7,
TypeDay = 8,
TypeMonth = 9,
TypeYear = 10,
TypeWeight = 11,
TypeHeight = 12,
TypeVo2max = 13,
TypeHeartrate = 20,
TypeHrPercent = 21,
TypeHrReserve = 22,
TypeSpeed = 23,
TypeCadence = 24,
TypeAltitude = 25,
TypePower = 26,
TypePowerLrb = 27,
TypePowerPi = 28,
TypeTemperature = 29,
TypeActivity = 30,
TypeStrideLength = 31,
TypeIncline = 32,
TypeDecline = 33,
TypeDistance = 52,
TypeEnergy = 53,
TypeFatPercents = 54,
TypeAscent = 55,
TypeDescent = 56,
TypeLatitude = 57,
TypeLongitude = 58,
TypeHertz = 59,
TypePercent = 60,
TypeCumulatedActivityDay = 61,
TypeRunningIndex = 62,
TypeRrInterval = 63,
TypeZIndex = 64,
TypeExerciseTargetIndex = 65,
TypeTimeZoneOffset = 66,
TypeWheelSize = 67,
TypeFitnessClass = 68,
TypeAcceleration = 69,
TypeCrankLength = 70,
TypeAngleDegree = 71,
TypeNewton = 72,
TypeFunctionalThresholdPower = 73,
TypeCalories = 74,
TypeSpeedCalibrationOffset = 75,
}Variants§
TypeUndefined = 0
TypeInherited = 1
TypeEnum = 2
TypeMillis = 3
TypeSecond = 4
TypeMinute = 5
TypeHour = 6
TypeHours = 7
TypeDay = 8
TypeMonth = 9
TypeYear = 10
TypeWeight = 11
TypeHeight = 12
TypeVo2max = 13
TypeHeartrate = 20
TypeHrPercent = 21
TypeHrReserve = 22
TypeSpeed = 23
TypeCadence = 24
TypeAltitude = 25
TypePower = 26
TypePowerLrb = 27
TypePowerPi = 28
TypeTemperature = 29
TypeActivity = 30
TypeStrideLength = 31
TypeIncline = 32
TypeDecline = 33
TypeDistance = 52
TypeEnergy = 53
TypeFatPercents = 54
TypeAscent = 55
TypeDescent = 56
TypeLatitude = 57
TypeLongitude = 58
TypeHertz = 59
TypePercent = 60
TypeCumulatedActivityDay = 61
TypeRunningIndex = 62
TypeRrInterval = 63
TypeZIndex = 64
TypeExerciseTargetIndex = 65
TypeTimeZoneOffset = 66
TypeWheelSize = 67
TypeFitnessClass = 68
TypeAcceleration = 69
TypeCrankLength = 70
TypeAngleDegree = 71
TypeNewton = 72
TypeFunctionalThresholdPower = 73
TypeCalories = 74
TypeSpeedCalibrationOffset = 75
Implementations§
Trait Implementations§
Source§impl Clone for PbDataType
impl Clone for PbDataType
Source§fn clone(&self) -> PbDataType
fn clone(&self) -> PbDataType
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 PbDataType
impl Debug for PbDataType
Source§impl Default for PbDataType
impl Default for PbDataType
Source§fn default() -> PbDataType
fn default() -> PbDataType
Returns the “default value” for a type. Read more
Source§impl From<PbDataType> for i32
impl From<PbDataType> for i32
Source§fn from(value: PbDataType) -> i32
fn from(value: PbDataType) -> i32
Converts to this type from the input type.
Source§impl Hash for PbDataType
impl Hash for PbDataType
Source§impl Ord for PbDataType
impl Ord for PbDataType
Source§fn cmp(&self, other: &PbDataType) -> Ordering
fn cmp(&self, other: &PbDataType) -> 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 PbDataType
impl PartialEq for PbDataType
Source§impl PartialOrd for PbDataType
impl PartialOrd for PbDataType
impl Copy for PbDataType
impl Eq for PbDataType
impl StructuralPartialEq for PbDataType
Auto Trait Implementations§
impl Freeze for PbDataType
impl RefUnwindSafe for PbDataType
impl Send for PbDataType
impl Sync for PbDataType
impl Unpin for PbDataType
impl UnwindSafe for PbDataType
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