ActivityGoal
@available(swift 4.0)
public struct ActivityGoal
TCX Activity Goal
-
Sport
Declaration
Swift
private(set) public var sport: Sport
-
Measure
Declaration
Swift
private(set) public var measure: Measure
-
Target
Declaration
Swift
private(set) public var target: Float
-
Current
Declaration
Swift
private(set) public var current: Float
-
Name
Declaration
Swift
private(set) public var name: String
-
Period
Declaration
Swift
private(set) public var period: Period?
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
public static func == (lhs: ActivityGoal, rhs: ActivityGoal) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey