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

# MobileDriversLicenseDataRequest.Response.DocumentElements.DrivingPrivilege.Code

An object representing a code of a driving privilege.

```
struct Code
```

## Topics

### Instance Properties

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

The code of a driving privilege.

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

The sign of a driving privilege code.

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

The value of a driving privilege code.

## 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)