Dagger.EnumTypeDef (dagger v0.18.16)
View SourceA 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 members of the enum.
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.
values(enum_type_def)
deprecated
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.
@spec members(t()) :: {:ok, [Dagger.EnumValueTypeDef.t()]} | {:error, term()}
The members of the enum.
The name of the enum.
@spec source_map(t()) :: Dagger.SourceMap.t() | nil
The location of this enum declaration.
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
This function is deprecated. use members instead
.
@spec values(t()) :: {:ok, [Dagger.EnumValueTypeDef.t()]} | {:error, term()}