BusSpecifications Structure Reference
- Last UpdatedDec 18, 2024
- 1 minute read
BusSpecifications
public struct BusSpecifications : Hashable
Bus specifications contain vehicle related attributes. Examples: height, weight, width. Only the fields that are set are considered for restriction handling.
-
Total vehicle weight in kilograms. By default, it is not set.
Declaration
Swift
public var grossWeightInKilograms: Int32?
-
Bus height in centimeters. By default, it is not set.
Declaration
Swift
public var heightInCentimeters: Int32?
-
Bus width in centimeters. By default, it is not set.
Declaration
Swift
public var widthInCentimeters: Int32?
-
Bus length in centimeters. By default, it is not set.
Declaration
Swift
public var lengthInCentimeters: Int32?
-
Last character of bus license plate in String format. This value can be used to evaluate restriction in environmental zones. By default, it is not set.
Declaration
Swift
public var lastCharacterOfLicensePlate: String?
-
Creates a new instance.
Declaration
Swift
public init(grossWeightInKilograms: Int32? = nil, heightInCentimeters: Int32? = nil, widthInCentimeters: Int32? = nil, lengthInCentimeters: Int32? = nil, lastCharacterOfLicensePlate: String? = nil)