Struct redis_graph::GraphConfig [−][src]
Expand description
Simple wrapper around a graph config map that allows derserializing config values into rust types.
Fields
values: HashMap<String, Value>Implementations
Extracts a config 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.
Trait Implementations
Returns the “default value” for a type. Read more
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 GraphConfig
impl Send for GraphConfig
impl Sync for GraphConfig
impl Unpin for GraphConfig
impl UnwindSafe for GraphConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
