<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader31MobileDriversLicenseDataRequestV8ResponseV16DocumentElementsV16DrivingPrivilegeV"
  },
  "title" : "MobileDriversLicenseDataRequest.Response.DocumentElements.DrivingPrivilege"
}
-->

# MobileDriversLicenseDataRequest.Response.DocumentElements.DrivingPrivilege

A type that represents a driving privilege which the mobile driver’s license holder possesses.

```
struct DrivingPrivilege
```

## Topics

### Structures

[`struct Code`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege/Code)

An object representing a code of a driving privilege.

### Instance Properties

[`let codes: [MobileDriversLicenseDataRequest.Response.DocumentElements.DrivingPrivilege.Code]`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege/codes)

The codes which describe the driving privilege.

[`let expirationDate: DateComponents?`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege/expirationDate)

The expiration date of the driving privilege.

[`let issueDate: DateComponents?`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege/issueDate)

The issue date of the driving privilege.

[`let vehicleCategoryCode: String`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/DrivingPrivilege/vehicleCategoryCode)

The vehicle category code of the driving privilege.

## Relationships

### Conforms To

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

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

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

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

---

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)