pub struct GraphEdge {
pub id: String,
pub source: String,
pub target: String,
pub relationship_type: String,
pub weight: f32,
pub metadata: HashMap<String, Value>,
pub created_at: String,
}Expand description
Graph edge representing a relationship between nodes
Fields§
§id: StringEdge identifier
source: StringSource node ID
target: StringTarget node ID
relationship_type: StringRelationship type
weight: f32Edge weight (0.0 to 1.0)
metadata: HashMap<String, Value>Edge metadata
created_at: StringCreation timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphEdge
impl<'de> Deserialize<'de> for GraphEdge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin 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