TravelMode

public enum TravelMode : Hashable, Sendable
extension TravelMode: Codable
  • Declaration

    Swift

    case walk
  • car

    Declaration

    Swift

    case car
  • Declaration

    Swift

    case bike(preference: Preference = .default)
  • Declaration

    Swift

    public enum Preference : String, Codable, Equatable, Sendable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws