<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.3.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarKey",
  "identifier" : "/documentation/CarKey/ExecutionStatus",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey15ExecutionStatusV"
  },
  "title" : "ExecutionStatus"
}
-->

# ExecutionStatus

A type that contains the status code a vehicle returns
after executing an action.

```
struct ExecutionStatus
```

## Overview

An [`ExecutionStatus`](/documentation/CarKey/ExecutionStatus) type wraps a code that indicates how
your vehicle responded to a particular request. The Car
Connectivity Consortium specifications define the meaning of
most execution status codes, but you can define custom codes
as needed for your vehicles.

## Topics

### Creating the Execution Status

[`init(rawValue: Int)`](/documentation/CarKey/ExecutionStatus/init(rawValue:))

Creates and returns a new execution status with the specified value.

[`init(Int)`](/documentation/CarKey/ExecutionStatus/init(_:))

Creates and returns a new execution status with the specified value.

### Getting the Value

[`let rawValue: Int`](/documentation/CarKey/ExecutionStatus/rawValue)

The raw value that corresponds to the feature-specific status.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)