Struct juniper_graphql_ws::StartPayload [−][src]
pub struct StartPayload<S: ScalarValue> { pub query: String, pub variables: Variables<S>, pub operation_name: Option<String>, }
Expand description
The payload for a client’s “start” message. This triggers execution of a query, mutation, or subscription.
Fields
query: String
The document body.
variables: Variables<S>
The optional variables.
operation_name: Option<String>
The optional operation name (required if the document contains multiple operations).
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 StartPayload<S> where
S: RefUnwindSafe,
impl<S> Send for StartPayload<S> where
S: Send,
impl<S> Sync for StartPayload<S> where
S: Sync,
impl<S> Unpin for StartPayload<S> where
S: Unpin,
impl<S> UnwindSafe for StartPayload<S> where
S: UnwindSafe,