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§
Trait Implementations§
Source§impl<S: Debug> Debug for ExecutionOutput<S>
impl<S: Debug> Debug for ExecutionOutput<S>
Source§impl<S> Serialize for ExecutionOutput<S>where
S: ScalarValue + Serialize,
impl<S> Serialize for ExecutionOutput<S>where
S: ScalarValue + Serialize,
Auto Trait Implementations§
impl<S> Freeze for ExecutionOutput<S>where
S: Freeze,
impl<S> RefUnwindSafe for ExecutionOutput<S>where
S: RefUnwindSafe,
impl<S> Send for ExecutionOutput<S>where
S: Send,
impl<S> Sync for ExecutionOutput<S>where
S: Sync,
impl<S> Unpin for ExecutionOutput<S>where
S: Unpin,
impl<S> UnwindSafe for ExecutionOutput<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more