pub struct GraphNode {
pub id: i64,
pub labels: Vec<String>,
pub properties: GraphProperties,
}
Available on crate feature
redis-graph
only.Expand description
Nodes are persistent graph elements that can be connected to each other via relationships.
See Nodes
Fields§
§id: i64
§labels: Vec<String>
§properties: GraphProperties
Trait Implementations§
source§impl<'de> Deserialize<'de> for GraphNode
impl<'de> Deserialize<'de> for GraphNode
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 GraphNode
impl FromGraphValue for GraphNode
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 GraphNode
impl PartialEq for GraphNode
impl StructuralPartialEq for GraphNode
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnwindSafe for GraphNode
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