Struct rsmgclient::Relationship
source · pub struct Relationship {
pub id: i64,
pub start_id: i64,
pub end_id: i64,
pub type_: String,
pub properties: HashMap<String, Value>,
}
Expand description
Representation of relationship value from a labeled property graph.
Consists of a unique identifier(within the scope of its origin graph), identifiers for the start and end nodes of that relationship, a type and a map of properties.
Fields§
§id: i64
§start_id: i64
§end_id: i64
§type_: String
§properties: HashMap<String, Value>
Trait Implementations§
source§impl Clone for Relationship
impl Clone for Relationship
source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Relationship
impl Debug for Relationship
source§impl Display for Relationship
impl Display for Relationship
source§impl PartialEq<Relationship> for Relationship
impl PartialEq<Relationship> for Relationship
source§fn eq(&self, other: &Relationship) -> bool
fn eq(&self, other: &Relationship) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Relationship
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more