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

# MobileDriversLicenseDataRequest.Response.DocumentElements.AAMVADrivingPrivilege.VehicleRestriction

An object that represents a restriction on a driving privilege.

```
struct VehicleRestriction
```

## Topics

### Instance Properties

[`let code: String?`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/AAMVADrivingPrivilege/VehicleRestriction/code)

The code of the vehicle restriction.

[`let description: String`](/documentation/ProximityReader/MobileDriversLicenseDataRequest/Response/DocumentElements-swift.struct/AAMVADrivingPrivilege/VehicleRestriction/description)

The description of the vehicle restriction.

## Relationships

### Conforms To

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

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

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

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

---

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)