Struct juniper::ExecutionOutput[][src]

pub struct ExecutionOutput<S> {
    pub data: Value<S>,
    pub errors: Vec<ExecutionError<S>>,
}
Expand description

Represents the result of executing a GraphQL operation (after parsing and validating has been done).

Fields

data: Value<S>

The output data.

errors: Vec<ExecutionError<S>>

The errors that occurred. Note that the presence of errors does not mean there is no data. The output can have both data and errors.

Implementations

Creates execution output from data, with no errors.

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.