GeneralVehicleSpeedLimits
public struct GeneralVehicleSpeedLimits : Hashable
Contains the speed limits for vehicles in a country / state.
-
The general speed limit on highways for the country / state. It is
nilif the general speed limit on highways for the country / state is not specified.Declaration
Swift
public var maxSpeedHighwaysInMetersPerSecond: Double? -
The general speed limit on rural roads for the country / state. It is
nilif the general speed limit on rural roads for the country / state is not specified.Declaration
Swift
public var maxSpeedRuralInMetersPerSecond: Double? -
The general speed limit on urban roads for the country / state. It is
nilif the general speed limit on urban roads for the country / state is not specified.Declaration
Swift
public var maxSpeedUrbanInMetersPerSecond: Double? -
The general speed limit when raining for the country / state. It is
nilif the general speed limit when raining for the country / state is not specified.Declaration
Swift
public var maxSpeedRainingInMetersPerSecond: Double? -
The general speed limit when snowing for the country / state. It is
nilif the general speed limit when snowing for the country / state is not specified.Declaration
Swift
public var maxSpeedSnowingInMetersPerSecond: Double? -
The general speed limit at night for the country / state. It is
nilif the general speed limit at night for the country / state is not specified.Declaration
Swift
public var maxSpeedNightInMetersPerSecond: Double? -
The minimum speed on highways for the country / state. It is
nilif the minimum speed on highways for the country / state is not specified.Declaration
Swift
public var minSpeedHighwaysInMetersPerSecond: Double? -
init(maxSpeedHighwaysInMetersPerSecond:maxSpeedRuralInMetersPerSecond: maxSpeedUrbanInMetersPerSecond: maxSpeedRainingInMetersPerSecond: maxSpeedSnowingInMetersPerSecond: maxSpeedNightInMetersPerSecond: minSpeedHighwaysInMetersPerSecond: ) Creates a new instance.
Declaration
Swift
public init(maxSpeedHighwaysInMetersPerSecond: Double? = nil, maxSpeedRuralInMetersPerSecond: Double? = nil, maxSpeedUrbanInMetersPerSecond: Double? = nil, maxSpeedRainingInMetersPerSecond: Double? = nil, maxSpeedSnowingInMetersPerSecond: Double? = nil, maxSpeedNightInMetersPerSecond: Double? = nil, minSpeedHighwaysInMetersPerSecond: Double? = nil)