---
title: "init(rawValue:)"
framework: energykit
role: symbol
role_heading: Initializer
path: "energykit/electricityinsightquery/options-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Creates an option set with the given raw value.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: The raw value to use.

## See Also

### Creating an option set

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