FuelType

public struct FuelType : Hashable
extension FuelType: CustomDebugStringConvertible

Defines fuel types supported in the fuzzy search.

Public

  • Defines a petrol fuel type.

    Declaration

    Swift

    public static let petrol: FuelType
  • lpg

    Defines LPG fuel type.

    Declaration

    Swift

    public static let lpg: FuelType
  • Defines a diesel fuel type.

    Declaration

    Swift

    public static let diesel: FuelType
  • Defines Biodiesel fuel.

    Declaration

    Swift

    public static let biodiesel: FuelType
  • Defines a diesel for commercial vehicles fuel type.

    Declaration

    Swift

    public static let dieselForCommercialVehicles: FuelType
  • e85

    Defines an E85 fuel.

    Declaration

    Swift

    public static let e85: FuelType
  • lng

    Defines LNG fuel.

    Declaration

    Swift

    public static let lng: FuelType
  • cng

    Defines CNG fuel.

    Declaration

    Swift

    public static let cng: FuelType
  • Defines a hydrogen fuel type.

    Declaration

    Swift

    public static let hydrogen: FuelType
  • Defines AdBlue.

    Declaration

    Swift

    public static let adBlue: FuelType

CustomDebugStringConvertible

  • Human readable debug description.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public var debugDescription: String { get }

FuelName

  • Defines Diesel Plus fuel type

    Declaration

    Swift

    public static let dieselPlus: FuelType
  • Defines Diesel Plus fuel type without additives

    Declaration

    Swift

    public static let dieselPlusWithoutAdditives: FuelType
  • Defines a diesel fuel without additives

    Declaration

    Swift

    public static let dieselWithoutAdditives: FuelType
  • Defines 91 octane petrol fuel

    Declaration

    Swift

    public static let sp91: FuelType
  • Defines 91 octane petrol fuel with 10% ethanol

    Declaration

    Swift

    public static let sp91E10: FuelType
  • Defines 92 octane petrol fuel

    Declaration

    Swift

    public static let sp92: FuelType
  • Defines 92 octane petrol fuel with added components.

    Declaration

    Swift

    public static let sp92Plus: FuelType
  • Defines 93 octane petrol fuel.

    Declaration

    Swift

    public static let sp93: FuelType
  • Defines 100 octane petrol fuel.

    Declaration

    Swift

    public static let sp100: FuelType
  • Defines 95 octane petrol fuel.

    Declaration

    Swift

    public static let sp95: FuelType
  • Defines 95 octane petrol fuel with 10% ethanol.

    Declaration

    Swift

    public static let sp95E10: FuelType
  • Defines 95 octane petrol fuel with added components.

    Declaration

    Swift

    public static let sp95Plus: FuelType
  • Defines 95 octane petrol fuel without added components.

    Declaration

    Swift

    public static let sp95WithoutAdditives: FuelType
  • Defines 97 octane petrol fuel.

    Declaration

    Swift

    public static let sp97: FuelType
  • Defines 98 octane petrol fuel.

    Declaration

    Swift

    public static let sp98: FuelType
  • Defines 98 octane petrol fuel with added components.

    Declaration

    Swift

    public static let sp98Plus: FuelType
  • Defines 99 octane petrol fuel.

    Declaration

    Swift

    public static let sp99: FuelType
  • e80

    Defines 80% ethanol.

    Declaration

    Swift

    public static let e80: FuelType
  • Defines 100% ethanol.

    Declaration

    Swift

    public static let e100: FuelType
  • Defines ethanol without any additive.

    Declaration

    Swift

    public static let ethanolWithoutAdditives: FuelType