---
title: ElectricityInsightQuery.Options
framework: energykit
role: symbol
role_heading: Structure
path: energykit/electricityinsightquery/options-swift.struct
---

# ElectricityInsightQuery.Options

A set of options that specify optional information to include in electricity insight records returned from the insight service.

## Declaration

```swift
struct Options
```

## Overview

Overview Using an empty ElectricityInsightQuery.Options returns the total value  of ElectricityInsightRecord without cleanliness or tariff breakdown.

## Topics

### Creating an option set

- [init(rawValue:)](energykit/electricityinsightquery/options-swift.struct/init(rawvalue:).md)
- [rawValue](energykit/electricityinsightquery/options-swift.struct/rawvalue.md)

### Getting the optional query insights

- [cleanliness](energykit/electricityinsightquery/options-swift.struct/cleanliness.md)
- [tariff](energykit/electricityinsightquery/options-swift.struct/tariff.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [Hashable](swift/hashable.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Adding optional insight records

- [options](energykit/electricityinsightquery/options-swift.property.md)
