[][src]Struct bolt_proto::value::Relationship

pub struct Relationship { /* fields omitted */ }

Methods

impl Relationship[src]

pub fn new(
    rel_identity: i64,
    start_node_identity: i64,
    end_node_identity: i64,
    rel_type: String,
    properties: HashMap<String, impl Into<Value>>
) -> Self
[src]

pub fn rel_identity(&self) -> i64[src]

pub fn start_node_identity(&self) -> i64[src]

pub fn end_node_identity(&self) -> i64[src]

pub fn rel_type(&self) -> &str[src]

pub fn properties(&self) -> &HashMap<String, Value>[src]

Trait Implementations

impl Clone for Relationship[src]

impl Debug for Relationship[src]

impl Eq for Relationship[src]

impl From<Relationship> for Value[src]

impl PartialEq<Relationship> for Relationship[src]

impl StructuralEq for Relationship[src]

impl StructuralPartialEq for Relationship[src]

impl TryFrom<Value> for Relationship[src]

type Error = Error

The type returned in the event of a conversion error.

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.