<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabularData",
  "identifier" : "/documentation/TabularData/ColumnID",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TabularData"
    ],
    "preciseIdentifier" : "s:11TabularData8ColumnIDV"
  },
  "title" : "ColumnID"
}
-->

# ColumnID

A column identifier that stores a column’s name and the type of its elements.

```
struct ColumnID<T>
```

## Topics

### Creating a Column ID

[`init(String, T.Type)`](/documentation/TabularData/ColumnID/init(_:_:))

Creates a column identifier.

### Getting the Properties

[`var name: String`](/documentation/TabularData/ColumnID/name)

The name of the column the identifier represents.

### Instance Properties

[`var type: any Any.Type`](/documentation/TabularData/ColumnID/type)

The type of elements stored in the column the identifier represents.

### Default Implementations

[CustomStringConvertible Implementations](/documentation/TabularData/ColumnID/CustomStringConvertible-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

---

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)