Enum redis_graph::GraphValue [−][src]
pub enum GraphValue {
Scalar(Value),
Node(NodeValue),
Relation(RelationValue),
}Expand description
Redis graph values can be one of 3 different types. Scalars are single values of any type supported by Redis. Nodes are sort of objects which can contain multiple name value pairs and Relations are relations between Nodes which themself can contain multiple name value pairs.
Variants
Scalar(Value)
Tuple Fields
0: ValueNode(NodeValue)
Tuple Fields
0: NodeValueRelation(RelationValue)
Tuple Fields
Trait Implementations
Given a redis Value this attempts to convert it into the given
destination type. If that fails because it’s not compatible an
appropriate error is generated. Read more
Similar to from_redis_value but constructs a vector of objects
from another vector of values. This primarily exists internally
to customize the behavior for vectors of tuples. Read more
Auto Trait Implementations
impl RefUnwindSafe for GraphValue
impl Send for GraphValue
impl Sync for GraphValue
impl Unpin for GraphValue
impl UnwindSafe for GraphValue
Blanket Implementations
Mutably borrows from an owned value. Read more
