pub struct GraphEdge {
pub id: i64,
pub relationship_type: String,
pub src_node_id: i64,
pub dst_node_id: i64,
pub properties: GraphProperties,
}
Available on crate feature
redis-graph
only.Expand description
Edges (or Relationships) are persistent graph elements that connect one node to another.
See Relationships
Fields§
§id: i64
§relationship_type: String
§src_node_id: i64
§dst_node_id: i64
§properties: GraphProperties
Trait Implementations§
source§impl<'de> Deserialize<'de> for GraphEdge
impl<'de> Deserialize<'de> for GraphEdge
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 GraphEdge
impl FromGraphValue for GraphEdge
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 moresource§impl PartialEq for GraphEdge
impl PartialEq for GraphEdge
impl StructuralPartialEq for GraphEdge
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnwindSafe for GraphEdge
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