pub struct GraphFetchResponseFrame {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub next_cursor: Vec<u8>,
pub is_final: bool,
}Expand description
One streaming GRAPH_FETCH_RESP frame (0x01E3). Nodes/edges may repeat
across pages (completeness, not disjointness) — dedup by id. Empty
next_cursor means exhausted.
Fields§
§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§next_cursor: Vec<u8>§is_final: boolTrait Implementations§
Source§impl Clone for GraphFetchResponseFrame
impl Clone for GraphFetchResponseFrame
Source§impl Debug for GraphFetchResponseFrame
impl Debug for GraphFetchResponseFrame
Source§impl<'de> Deserialize<'de> for GraphFetchResponseFrame
impl<'de> Deserialize<'de> for GraphFetchResponseFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphFetchResponseFrame
impl PartialEq for GraphFetchResponseFrame
Source§impl Serialize for GraphFetchResponseFrame
impl Serialize for GraphFetchResponseFrame
impl StructuralPartialEq for GraphFetchResponseFrame
Auto Trait Implementations§
impl Freeze for GraphFetchResponseFrame
impl RefUnwindSafe for GraphFetchResponseFrame
impl Send for GraphFetchResponseFrame
impl Sync for GraphFetchResponseFrame
impl Unpin for GraphFetchResponseFrame
impl UnsafeUnpin for GraphFetchResponseFrame
impl UnwindSafe for GraphFetchResponseFrame
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