[−][src]Struct bolt_proto::value::Relationship
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]
rel_identity: i64,
start_node_identity: i64,
end_node_identity: i64,
rel_type: String,
properties: HashMap<String, impl Into<Value>>
) -> Self
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]
fn clone(&self) -> Relationship
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Relationship
[src]
impl Eq for Relationship
[src]
impl From<Relationship> for Value
[src]
fn from(value: Relationship) -> Self
[src]
impl PartialEq<Relationship> for Relationship
[src]
fn eq(&self, other: &Relationship) -> bool
[src]
fn ne(&self, other: &Relationship) -> bool
[src]
impl StructuralEq for Relationship
[src]
impl StructuralPartialEq for Relationship
[src]
impl TryFrom<Value> for Relationship
[src]
Auto Trait Implementations
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,