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§
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<'_>
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.