ExecutableDocument

Trait ExecutableDocument 

Source
pub trait ExecutableDocument {
Show 21 associated items type Value<const CONST: bool>: Value<CONST>; type VariableType: VariableType; type Argument<const CONST: bool>: Argument<CONST, Value = Self::Value<CONST>>; type Arguments<const CONST: bool>: Arguments<CONST, Argument = Self::Argument<CONST>>; type Directive<const CONST: bool>: Directive<CONST, Arguments = Self::Arguments<CONST>>; type Directives<const CONST: bool>: Directives<CONST, Directive = Self::Directive<CONST>>; type FragmentSpread: FragmentSpread<Directives = Self::Directives<false>>; type Field: Field<Arguments = Self::Arguments<false>, Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>; type Selection: Selection<Field = Self::Field, FragmentSpread = Self::FragmentSpread, InlineFragment = Self::InlineFragment>; type SelectionSet: SelectionSet<Selection = Self::Selection>; type InlineFragment: InlineFragment<Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>; type VariableDefinition: VariableDefinition<VariableType = Self::VariableType, Directives = Self::Directives<true>, Value = Self::Value<true>>; type VariableDefinitions: VariableDefinitions<VariableDefinition = Self::VariableDefinition>; type ExplicitOperationDefinition: ExplicitOperationDefinition<VariableDefinitions = Self::VariableDefinitions, Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>; type ImplicitOperationDefinition: ImplicitOperationDefinition<SelectionSet = Self::SelectionSet>; type OperationDefinition: OperationDefinition<ExplicitOperationDefinition = Self::ExplicitOperationDefinition, ImplicitOperationDefinition = Self::ImplicitOperationDefinition>; type FragmentDefinition: FragmentDefinition<Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>; type OperationDefinitions<'a>: Iterator<Item = &'a Self::OperationDefinition> where Self: 'a; type FragmentDefinitions<'a>: Iterator<Item = &'a Self::FragmentDefinition> where Self: 'a; // Required methods fn operation_definitions(&self) -> Self::OperationDefinitions<'_>; fn fragment_definitions(&self) -> Self::FragmentDefinitions<'_>;
}

Required Associated Types§

Source

type Value<const CONST: bool>: Value<CONST>

Source

type VariableType: VariableType

Source

type Argument<const CONST: bool>: Argument<CONST, Value = Self::Value<CONST>>

Source

type Arguments<const CONST: bool>: Arguments<CONST, Argument = Self::Argument<CONST>>

Source

type Directive<const CONST: bool>: Directive<CONST, Arguments = Self::Arguments<CONST>>

Source

type Directives<const CONST: bool>: Directives<CONST, Directive = Self::Directive<CONST>>

Source

type FragmentSpread: FragmentSpread<Directives = Self::Directives<false>>

Source

type Field: Field<Arguments = Self::Arguments<false>, Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>

Source

type Selection: Selection<Field = Self::Field, FragmentSpread = Self::FragmentSpread, InlineFragment = Self::InlineFragment>

Source

type SelectionSet: SelectionSet<Selection = Self::Selection>

Source

type InlineFragment: InlineFragment<Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>

Source

type VariableDefinition: VariableDefinition<VariableType = Self::VariableType, Directives = Self::Directives<true>, Value = Self::Value<true>>

Source

type VariableDefinitions: VariableDefinitions<VariableDefinition = Self::VariableDefinition>

Source

type ExplicitOperationDefinition: ExplicitOperationDefinition<VariableDefinitions = Self::VariableDefinitions, Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>

Source

type ImplicitOperationDefinition: ImplicitOperationDefinition<SelectionSet = Self::SelectionSet>

Source

type OperationDefinition: OperationDefinition<ExplicitOperationDefinition = Self::ExplicitOperationDefinition, ImplicitOperationDefinition = Self::ImplicitOperationDefinition>

Source

type FragmentDefinition: FragmentDefinition<Directives = Self::Directives<false>, SelectionSet = Self::SelectionSet>

Source

type OperationDefinitions<'a>: Iterator<Item = &'a Self::OperationDefinition> where Self: 'a

Source

type FragmentDefinitions<'a>: Iterator<Item = &'a Self::FragmentDefinition> where Self: 'a

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§