Struct redis_graph::RelationValue[][src]

pub struct RelationValue {
    pub id: u64,
    pub rel_type: String,
    pub src_node: u64,
    pub dest_node: u64,
    pub properties: HashMap<String, Value>,
}

Represents a Redis graph relation between two nodes. Like a node it can potentially contain one or multiple named fields.

Fields

id: u64rel_type: Stringsrc_node: u64dest_node: u64properties: HashMap<String, Value>

Trait Implementations

impl Clone for RelationValue[src]

impl Debug for RelationValue[src]

impl Default for RelationValue[src]

impl FromRedisValue for RelationValue[src]

impl WithProperties for RelationValue[src]

Allows property extraction on RelationValues.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.