WeightRestriction
public struct WeightRestriction : Hashable
Defines a weight restriction.
-
The maximum allowed weight.
Declaration
Swift
public var valueInKilograms: Int32 -
The type of the weight restriction.
Declaration
Swift
public var type: WeightRestrictionType -
Creates a new instance.
Declaration
Swift
public init(valueInKilograms: Int32, type: WeightRestrictionType)