[−][src]Struct juniper_graphql_ws::DataPayload
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
impl<S: Debug> Debug for DataPayload<S>
[src]
impl<S: PartialEq> PartialEq<DataPayload<S>> for DataPayload<S>
[src]
fn eq(&self, other: &DataPayload<S>) -> bool
[src]
fn ne(&self, other: &DataPayload<S>) -> bool
[src]
impl<S> Serialize for DataPayload<S> where
S: ScalarValue,
[src]
S: ScalarValue,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<S> StructuralPartialEq for DataPayload<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for DataPayload<S> where
S: RefUnwindSafe,
[src]
S: RefUnwindSafe,
impl<S> Send for DataPayload<S> where
S: Send,
[src]
S: Send,
impl<S> Sync for DataPayload<S> where
S: Sync,
[src]
S: Sync,
impl<S> Unpin for DataPayload<S> where
S: Unpin,
[src]
S: Unpin,
impl<S> UnwindSafe for DataPayload<S> where
S: UnwindSafe,
[src]
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,