[][src]Struct async_graphql::QueryResponse

pub struct QueryResponse {
    pub label: Option<String>,
    pub path: Option<Vec<Value>>,
    pub data: Value,
    pub extensions: Option<Value>,
    pub cache_control: CacheControl,
}

Query response

Fields

label: Option<String>

Label for RelayModernQueryExecutor

https://github.com/facebook/relay/blob/2859aa8df4df7d4d6d9eef4c9dc1134286773710/packages/relay-runtime/store/RelayModernQueryExecutor.js#L1267

path: Option<Vec<Value>>

Path for subsequent response

data: Value

Data of query result

extensions: Option<Value>

Extensions result

cache_control: CacheControl

Cache control value

Trait Implementations

impl Debug for QueryResponse[src]

Auto Trait Implementations

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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,