Struct juniper::ExecutionOutput
source · [−]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
sourceimpl<S> ExecutionOutput<S>
impl<S> ExecutionOutput<S>
Trait Implementations
sourceimpl<S: Debug> Debug for ExecutionOutput<S>
impl<S: Debug> Debug for ExecutionOutput<S>
sourceimpl<S> Serialize for ExecutionOutput<S> where
S: ScalarValue,
S: Serialize,
impl<S> Serialize for ExecutionOutput<S> where
S: ScalarValue,
S: Serialize,
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more