pub struct RelationshipRecord {
pub id: RelationshipId,
pub src: NodeId,
pub dst: NodeId,
pub rel_type: String,
pub properties: Properties,
}Fields§
§id: RelationshipId§src: NodeId§dst: NodeId§rel_type: String§properties: PropertiesImplementations§
Source§impl RelationshipRecord
impl RelationshipRecord
pub fn property(&self, key: &str) -> Option<&PropertyValue>
pub fn other_node(&self, node_id: NodeId) -> Option<NodeId>
pub fn matches_direction_from( &self, node_id: NodeId, direction: Direction, ) -> bool
Trait Implementations§
Source§impl Clone for RelationshipRecord
impl Clone for RelationshipRecord
Source§fn clone(&self) -> RelationshipRecord
fn clone(&self) -> RelationshipRecord
Returns a duplicate 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 RelationshipRecord
impl Debug for RelationshipRecord
Source§impl PartialEq for RelationshipRecord
impl PartialEq for RelationshipRecord
impl StructuralPartialEq for RelationshipRecord
Auto Trait Implementations§
impl Freeze for RelationshipRecord
impl RefUnwindSafe for RelationshipRecord
impl Send for RelationshipRecord
impl Sync for RelationshipRecord
impl Unpin for RelationshipRecord
impl UnsafeUnpin for RelationshipRecord
impl UnwindSafe for RelationshipRecord
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