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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<S> RefUnwindSafe for DataPayload<S> where
S: RefUnwindSafe,
impl<S> Send for DataPayload<S> where
S: Send,
impl<S> Sync for DataPayload<S> where
S: Sync,
impl<S> Unpin for DataPayload<S> where
S: Unpin,
impl<S> UnwindSafe for DataPayload<S> where
S: UnwindSafe,