Struct redis_graph::NodeValue [−][src]
pub struct NodeValue {
pub id: u64,
pub labels: Vec<String>,
pub properties: HashMap<String, Value>,
}Expand description
Represents a Redis graph node which is an object like structure with potentially multiple named fields.
Fields
id: u64labels: Vec<String>properties: HashMap<String, Value>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
Allows property extraction on NodeValues.
Returns a raw Redis value at key.
Extracts a property Redis value at key into an Option of the desired type. Will return None in case the key did not exists. Will return an error in case the value at key failed to be parsed into T. Read more
Extracts a property Redis value at key into an Option of the desired type. Will return None in case of the key did not exist or the value at key failed to be parsed into T. Read more
Auto Trait Implementations
impl RefUnwindSafe for NodeValue
impl UnwindSafe for NodeValue
Blanket Implementations
Mutably borrows from an owned value. Read more
