View Source Dagger.EnumTypeDef (dagger v0.14.0)
A definition of a custom enum defined in a Module.
Summary
Functions
A doc string for the enum, if any.
A unique identifier for this EnumTypeDef.
The name of the enum.
The location of this enum declaration.
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
The values of the enum.
Types
Functions
A doc string for the enum, if any.
@spec id(t()) :: {:ok, Dagger.EnumTypeDefID.t()} | {:error, term()}
A unique identifier for this EnumTypeDef.
The name of the enum.
@spec source_map(t()) :: Dagger.SourceMap.t()
The location of this enum declaration.
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
@spec values(t()) :: {:ok, [Dagger.EnumValueTypeDef.t()]} | {:error, term()}
The values of the enum.