[][src]Struct juniper_graphql_ws::StartPayload

pub struct StartPayload<S: ScalarValue> {
    pub query: String,
    pub variables: Variables<S>,
    pub operation_name: Option<String>,
}

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

impl<S: Debug + ScalarValue> Debug for StartPayload<S>[src]

impl<'de, S: ScalarValue> Deserialize<'de> for StartPayload<S> where
    S: ScalarValue
[src]

impl<S: PartialEq + ScalarValue> PartialEq<StartPayload<S>> for StartPayload<S>[src]

impl<S: ScalarValue> StructuralPartialEq for StartPayload<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for StartPayload<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for StartPayload<S> where
    S: Send
[src]

impl<S> Sync for StartPayload<S> where
    S: Sync
[src]

impl<S> Unpin for StartPayload<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for StartPayload<S> where
    S: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.