Enum graphql_parser::query::Definition[][src]

pub enum Definition {
    Operation(OperationDefinition),
    Fragment(FragmentDefinition),
}

Variants

Trait Implementations

impl Debug for Definition
[src]

Formats the value using the given formatter. Read more

impl Clone for Definition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Definition
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Definition
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Definition

impl Sync for Definition