pub struct GraphAdjacencyEdge {
pub edge_id: u64,
pub from_node: String,
pub to_node: String,
pub label: String,
pub weight: f32,
}Expand description
One persisted graph edge (RDGA).
Fields§
§edge_id: u64Edge entity id (entity_id.raw() on the server side).
from_node: StringSource node key.
to_node: StringTarget node key.
label: StringEdge label.
weight: f32Edge weight.
Trait Implementations§
Source§impl Clone for GraphAdjacencyEdge
impl Clone for GraphAdjacencyEdge
Source§fn clone(&self) -> GraphAdjacencyEdge
fn clone(&self) -> GraphAdjacencyEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphAdjacencyEdge
impl Debug for GraphAdjacencyEdge
Source§impl PartialEq for GraphAdjacencyEdge
impl PartialEq for GraphAdjacencyEdge
Source§fn eq(&self, other: &GraphAdjacencyEdge) -> bool
fn eq(&self, other: &GraphAdjacencyEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphAdjacencyEdge
Auto Trait Implementations§
impl Freeze for GraphAdjacencyEdge
impl RefUnwindSafe for GraphAdjacencyEdge
impl Send for GraphAdjacencyEdge
impl Sync for GraphAdjacencyEdge
impl Unpin for GraphAdjacencyEdge
impl UnsafeUnpin for GraphAdjacencyEdge
impl UnwindSafe for GraphAdjacencyEdge
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