HazardousMaterialRestriction
public struct HazardousMaterialRestriction : Hashable
Represents restriction on transport of hazardous materials. A generic restriction, applying to any hazardous material, is encoded with empty member variables.
Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.
-
Restricted hazardous materials.
Declaration
Swift
public var hazardousMaterials: [HazardousMaterial] -
Tunnel category to restrict transport of specific goods.
Declaration
Swift
public var tunnelCategory: TunnelCategory? -
Creates hazardous material restriction for specified materials.
Declaration
Swift
public init(hazardousMaterials: [HazardousMaterial]) -
Creates hazardous material restriction for specified tunnel category.
Declaration
Swift
public init(tunnelCategory: TunnelCategory?)