---
title: LanguageModelExecutorGenerationChannel.DataEntry.Action
framework: Foundation Models
role: symbol
role_heading: Structure
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, visionOS 27.2+, watchOS 27.2+]
path: foundationmodels/languagemodelexecutorgenerationchannel/dataentry/action-swift.struct
---

# LanguageModelExecutorGenerationChannel.DataEntry.Action

An operation that can be performed on a data entry.

## Declaration

```swift
struct Action
```

## Overview

Overview Action is an enum-like struct; construct one with a leading-dot factory such as update(contentType:content:metadata:).

## Topics

### Type Methods

- [update(contentType:content:metadata:)](foundationmodels/languagemodelexecutorgenerationchannel/dataentry/action-swift.struct/update(contenttype:content:metadata:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
