# GooglePlacesSwift Framework Reference

# FuelType

    enum FuelType

    extension FuelType : CaseIterable, Copyable, Equatable, Escapable, Hashable, RawRepresentable, Sendable, SendableMetatype

Describes the fuel option type.
LINT.IfChange(FuelType)
- `


  ### [AllCases](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8AllCasesa)


  ` A type that can represent a collection of all values of this type.

  #### Declaration

  Swift

      typealias AllCases = [FuelType]

- `


  ### [RawValue](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8RawValuea)


  ` The raw type that can be used to represent all values of the conforming
  type.

  Every distinct value of the conforming type has a corresponding unique
  value of the `RawValue` type, but there may be values of the `RawValue`
  type that don't have a corresponding value of the conforming type.

  #### Declaration

  Swift

      typealias RawValue = Int

- `


  ### [allCases](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8allCasesSayACGvpZ)


  ` A collection of all values of this type.

  #### Declaration

  Swift

      nonisolated static var allCases: [FuelType] { get }

- `


  ### [bioDiesel](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO9bioDieselyA2CmF)


  `

  #### Declaration

  Swift

      case bioDiesel

- `


  ### [diesel](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO6dieselyA2CmF)


  `

  #### Declaration

  Swift

      case diesel

- `


  ### [dieselPlus](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO10dieselPlusyA2CmF)


  `

  #### Declaration

  Swift

      case dieselPlus

- `


  ### [e100](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4e100yA2CmF)


  `

  #### Declaration

  Swift

      case e100

- `


  ### [e80](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO3e80yA2CmF)


  `

  #### Declaration

  Swift

      case e80

- `


  ### [e85](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO3e85yA2CmF)


  `

  #### Declaration

  Swift

      case e85

- `


  ### [init(rawValue:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8rawValueACSgSi_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init?(rawValue: Int)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |

- `


  ### [lpg](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO3lpgyA2CmF)


  `

  #### Declaration

  Swift

      case lpg

- `


  ### [methane](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO7methaneyA2CmF)


  `

  #### Declaration

  Swift

      case methane

- `


  ### [midgrade](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8midgradeyA2CmF)


  `

  #### Declaration

  Swift

      case midgrade

- `


  ### [premium](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO7premiumyA2CmF)


  `

  #### Declaration

  Swift

      case premium

- `


  ### [rawValue](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO8rawValueSivp)


  ` The corresponding value of the raw type.

  A new instance initialized with `rawValue` will be equivalent to this
  instance. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      let selectedSize = PaperSize.Letter
      print(selectedSize.rawValue)
      // Prints "Letter"

      print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
      // Prints "true"

  #### Declaration

  Swift

      var rawValue: Int { get }

- `


  ### [regularUnleaded](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO15regularUnleadedyA2CmF)


  `

  #### Declaration

  Swift

      case regularUnleaded

- `


  ### [sp100](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO5sp100yA2CmF)


  `

  #### Declaration

  Swift

      case sp100

- `


  ### [sp91](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4sp91yA2CmF)


  `

  #### Declaration

  Swift

      case sp91

- `


  ### [sp91E10](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO7sp91E10yA2CmF)


  `

  #### Declaration

  Swift

      case sp91E10

- `


  ### [sp92](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4sp92yA2CmF)


  `

  #### Declaration

  Swift

      case sp92

- `


  ### [sp95](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4sp95yA2CmF)


  `

  #### Declaration

  Swift

      case sp95

- `


  ### [sp95E10](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO7sp95E10yA2CmF)


  `

  #### Declaration

  Swift

      case sp95E10

- `


  ### [sp98](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4sp98yA2CmF)


  `

  #### Declaration

  Swift

      case sp98

- `


  ### [sp99](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO4sp99yA2CmF)


  `

  #### Declaration

  Swift

      case sp99

- `


  ### [truckDiesel](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO11truckDieselyA2CmF)


  `

  #### Declaration

  Swift

      case truckDiesel

- `


  ### [unspecified](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/FuelType#/s:17GooglePlacesSwift8FuelTypeO11unspecifiedyA2CmF)


  `

  #### Declaration

  Swift

      case unspecified