View Source argo_graphql_enum_value_definition (argo v1.0.3)
Summary
Types
-type t() :: #argo_graphql_enum_value_definition{}.
Functions
-spec add_directive_const(EnumValueDefinition, DirectiveConst) -> EnumValueDefinition when EnumValueDefinition :: t(), DirectiveConst :: argo_graphql_directive_const:t().
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec from_language(LanguageEnumValueDefinition) -> EnumValueDefinition when LanguageEnumValueDefinition :: argo_graphql_language_enum_value_definition:t(), EnumValueDefinition :: t().
-spec new(EnumValue) -> EnumValueDefinition when EnumValue :: argo_types:name(), EnumValueDefinition :: t().
-spec set_description(EnumValueDefinition, OptionDescription) -> EnumValueDefinition when EnumValueDefinition :: t(), OptionDescription :: none | {some, unicode:unicode_binary()}.