DurableObject.Dsl.Field (DurableObject v0.3.2)

Copy Markdown View Source

Struct representing a state field in a Durable Object.

Fields define the structure of the object's state, including:

  • name - The field name (atom)
  • type - The field type (atom, for documentation purposes)
  • default - The default value for the field

Summary

Types

t()

@type t() :: %DurableObject.Dsl.Field{
  __spark_metadata__: any(),
  default: any(),
  name: atom(),
  type: atom()
}