[−][src]Struct async_graphql::Variables
Variables of a query.
Implementations
impl Variables
[src][−]
pub fn from_value(value: Value) -> Self
[src][−]
Get the variables from a GraphQL value.
If the value is not a map, then no variables will be returned.
pub fn from_json(value: Value) -> Self
[src][−]
Get the values from a JSON value.
If the value is not a map or the keys of a map are not valid GraphQL names, then no variables will be returned.
pub fn into_value(self) -> Value
[src][−]
Get the variables as a GraphQL value.
Trait Implementations
impl Clone for Variables
[src][+]
impl Debug for Variables
[src][+]
impl Default for Variables
[src][+]
impl<'de> Deserialize<'de> for Variables
[src][+]
impl Display for Variables
[src][+]
impl From<Variables> for Value
[src][+]
impl Serialize for Variables
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for Variables
impl Send for Variables
impl Sync for Variables
impl Unpin for Variables
impl UnwindSafe for Variables
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,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,