Structures
The following structures are available globally.
-
A
MeasurementZoneis a model type that bounds values between a upper and lower bounds.
See moreMeasurementZonemay be a Heart Rate Zone, FTP Zone, or used for other measurements that you wish to bound between an upper and lower valueDeclaration
Swift
public struct MeasurementZone
-
A
See moreStringMeasurementis a model type that holds aStringvalue associated with aUnit.Declaration
Swift
@available(swift 3.1) @available(iOS 10.0, tvOS 10.0, watchOS 3.0, OSX 10.12, *) public struct StringMeasurement<UnitType> : Equatable where UnitType : Unit
-
A
ValidatedBinaryFloatingPointis a model type that holds aNumericvalue that has an associatedvalidflag.
See moreValidatedBinaryFloatingPointprovides feedback on validity of valueDeclaration
Swift
@available(swift 3.1) public struct ValidatedBinaryFloatingPoint<Element> where Element : BinaryFloatingPoint
-
A
ValidatedBinaryIntegeris a model type that holds aNumericvalue that has an associatedvalidflag.
See moreValidatedBinaryIntegerprovides feedback on validity of valueDeclaration
Swift
@available(swift 3.1) public struct ValidatedBinaryInteger<Element> where Element : BinaryInteger
-
A
ValidatedMeasurementis a model type that holds aDoublevalue associated with aUnit.ValidatedMeasurementact the same wayMeasurementdoes, but provides feedback on validity of dataValidatedMeasurements support a large set of operators, including
See more+,-,*,/, and a full set of comparison operators.Declaration
Swift
@available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) public struct ValidatedMeasurement<UnitType> : Comparable, Equatable where UnitType : Unit