pub struct GraphPageDto {
pub nodes: Vec<GraphNodeDto>,
pub edges: Vec<GraphEdgeDto>,
pub next_cursor: Option<String>,
}Expand description
GET /v1/graph response: a page of nodes + edges plus the resume cursor.
Nodes/edges may repeat across pages (completeness, not disjointness) —
dedup by id. next_cursor is omitted when the export is exhausted.
Fields§
§nodes: Vec<GraphNodeDto>§edges: Vec<GraphEdgeDto>§next_cursor: Option<String>Implementations§
Source§impl GraphPageDto
impl GraphPageDto
pub fn from_frames(frames: Vec<GraphFetchResponseFrame>) -> Self
Trait Implementations§
Source§impl Debug for GraphPageDto
impl Debug for GraphPageDto
Auto Trait Implementations§
impl Freeze for GraphPageDto
impl RefUnwindSafe for GraphPageDto
impl Send for GraphPageDto
impl Sync for GraphPageDto
impl Unpin for GraphPageDto
impl UnsafeUnpin for GraphPageDto
impl UnwindSafe for GraphPageDto
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