Struct juniper_graphql_ws::DataPayload[][src]

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

Sent after execution of an operation. For queries and mutations, this is sent to the client once. For subscriptions, this is sent for every event in the event stream.

Fields

data: Value<S>

The result data.

errors: Vec<ExecutionError<S>>

The errors that have occurred during execution. Note that parse and validation errors are not included here. They are sent via Error messages.

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

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.