pub struct GraphPage {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub next_cursor: Option<String>,
}Expand description
graph_fetch result. next_cursor is absent on the last page.
Fields§
§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§next_cursor: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphPage
impl<'de> Deserialize<'de> for GraphPage
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
Auto Trait Implementations§
impl Freeze for GraphPage
impl RefUnwindSafe for GraphPage
impl Send for GraphPage
impl Sync for GraphPage
impl Unpin for GraphPage
impl UnsafeUnpin for GraphPage
impl UnwindSafe for GraphPage
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