[−][src]Struct graphql_client::QueryBody
The form in which queries are sent over HTTP in most implementations. This will be built using the GraphQLQuery
trait normally.
Fields
variables: Variables
The values for the variables. They must match those declared in the queries. This should be the Variables
struct from the generated module corresponding to the query.
query: &'static str
The GraphQL query, as a string.
operation_name: &'static str
The GraphQL operation name, as a string.
Trait Implementations
impl<Variables: Debug> Debug for QueryBody<Variables> where
Variables: Serialize,
[src]
Variables: Serialize,
impl<Variables> Serialize for QueryBody<Variables> where
Variables: Serialize,
Variables: Serialize,
[src]
Variables: Serialize,
Variables: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<Variables> Deserialize<'static> for QueryBody<Variables> where
Variables: Serialize,
Variables: Deserialize<'static>,
[src]
Variables: Serialize,
Variables: Deserialize<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
[src]
__D: Deserializer<'static>,
Auto Trait Implementations
impl<Variables> Send for QueryBody<Variables> where
Variables: Send,
Variables: Send,
impl<Variables> Sync for QueryBody<Variables> where
Variables: Sync,
Variables: Sync,
Blanket Implementations
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,