GenericFuel
public struct GenericFuel : Hashable
Contains generic fuel type info of fuel station.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The type of the fuel.
Declaration
Swift
public var type: FuelType -
The list of available fuel additives. The list can be empty when no fuel additives are available or when the information is unknown.
Declaration
Swift
public var additives: [FuelAdditive] -
Creates a new instance.
Declaration
Swift
public init(type: FuelType, additives: [FuelAdditive] = [])