<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/ID-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence17FaceGroupAnalyzerC6EntityV2IDV"
  },
  "title" : "FaceGroupAnalyzer.Entity.ID"
}
-->

# FaceGroupAnalyzer.Entity.ID

A type that uniquely identifies an entity.

```
struct ID
```

## Topics

### Creating an ID

[`init(String)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/ID-swift.struct/init(_:))

Creates an identifier from a string value.

### Initializers

[`init(rawValue: String)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/ID-swift.struct/init(rawValue:))

Creates an identifier from a raw string value.

### Instance Properties

[`let rawValue: String`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/ID-swift.struct/rawValue)

The raw string value of the identifier.

## Relationships

### Conforms To

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

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

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

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

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

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

[`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)