pub struct GraphEdge {
pub from: String,
pub to: String,
pub edge_type: EdgeType,
pub weight: f32,
pub message_id: Option<String>,
}Expand description
An edge in the relationship graph.
Fields§
§from: StringSource entity name.
to: StringTarget entity name.
edge_type: EdgeTypeType of relationship.
weight: f32Strength of the relationship.
message_id: Option<String>Message ID where this edge was established, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnsafeUnpin for GraphEdge
impl UnwindSafe for GraphEdge
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