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 material.
Declaration
Swift
public var hazardousMaterial: HazardousMaterial? -
Tunnel category to restrict transport of specific goods.
Declaration
Swift
public var tunnelCategory: TunnelCategory? -
Creates hazardous material restriction for specified material.
Declaration
Swift
public init(hazardousMaterial: HazardousMaterial?) -
Creates hazardous material restriction for specified tunnel category.
Declaration
Swift
public init(tunnelCategory: TunnelCategory?)