AttributeOptions

public struct AttributeOptions : CustomValueOptionSet, CustomStringConvertible
extension AttributeOptions: Codable

Attributes are metadata information for a route leg.

When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.