pub struct GraphPath {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
}
Available on crate feature
redis-graph
only.Expand description
Paths are alternating sequences of nodes and edges, starting and ending with a node.
See Paths
Fields§
§nodes: Vec<GraphNode>
§edges: Vec<GraphEdge>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphPath
impl<'de> Deserialize<'de> for GraphPath
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 FromGraphValue for GraphPath
impl FromGraphValue for GraphPath
Source§fn from_graph_value(value: GraphValue) -> Result<Self>
fn from_graph_value(value: GraphValue) -> Result<Self>
Converts to this type from the input
GraphValue
. Read moreimpl StructuralPartialEq for GraphPath
Auto Trait Implementations§
impl Freeze for GraphPath
impl RefUnwindSafe for GraphPath
impl Send for GraphPath
impl Sync for GraphPath
impl Unpin for GraphPath
impl UnwindSafe for GraphPath
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