Consumption

public enum Consumption : CustomStringConvertible, Hashable

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Fuel volume, e.g., liters.

    Declaration

    Swift

    case fuelVolume(Measurement<UnitVolume>)
  • Energy amount, e.g., in kilowatt hours.

    Declaration

    Swift

    case energyAmount(Measurement<UnitEnergy>)

Public

  • Declaration

    Swift

    public var description: String { get }