GenericFuel
public struct GenericFuel : Hashable
Contains generic fuel type info of fuel station.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change 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] = [])