pub struct DeferredPayload {
pub path: Vec<Value>,
pub label: Option<String>,
pub data: Map<String, Value>,
}Expand description
One deferred fragment’s payload, ready to become an incremental entry.
Fields§
§path: Vec<Value>Response path of the object these fields belong to, as the GraphQL
incremental-delivery spec renders it: field keys and list indices.
Empty for fields deferred at the root of data.
label: Option<String>The @defer(label:) argument, when the client supplied one. Clients use it
to route a payload without pattern-matching on the path.
data: Map<String, Value>The deferred fields, keyed exactly as they would have appeared in data.
Trait Implementations§
Source§impl Clone for DeferredPayload
impl Clone for DeferredPayload
Source§impl Debug for DeferredPayload
impl Debug for DeferredPayload
impl Eq for DeferredPayload
Source§impl PartialEq for DeferredPayload
impl PartialEq for DeferredPayload
impl StructuralPartialEq for DeferredPayload
Auto Trait Implementations§
impl Freeze for DeferredPayload
impl RefUnwindSafe for DeferredPayload
impl Send for DeferredPayload
impl Sync for DeferredPayload
impl Unpin for DeferredPayload
impl UnsafeUnpin for DeferredPayload
impl UnwindSafe for DeferredPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.