pub struct StreamedChunk {
pub path: Vec<Value>,
pub label: Option<String>,
pub items: Vec<Value>,
}Expand description
One chunk of a streamed nested list, ready to become an incremental entry.
Fields§
§path: Vec<Value>Response path of the first item in this chunk, as the GraphQL
incremental-delivery spec renders a @stream payload path: the path of the
list, with the item’s index appended.
label: Option<String>The @stream(label:) argument, when the client supplied one.
items: Vec<Value>The items this chunk delivers, in list order.
Trait Implementations§
Source§impl Clone for StreamedChunk
impl Clone for StreamedChunk
Source§impl Debug for StreamedChunk
impl Debug for StreamedChunk
impl Eq for StreamedChunk
Source§impl PartialEq for StreamedChunk
impl PartialEq for StreamedChunk
impl StructuralPartialEq for StreamedChunk
Auto Trait Implementations§
impl Freeze for StreamedChunk
impl RefUnwindSafe for StreamedChunk
impl Send for StreamedChunk
impl Sync for StreamedChunk
impl Unpin for StreamedChunk
impl UnsafeUnpin for StreamedChunk
impl UnwindSafe for StreamedChunk
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.