pub struct GraphLink {
pub edge_id: EdgeId,
pub src_type: EntityType,
pub src_id: Uuid,
pub dst_type: EntityType,
pub dst_id: Uuid,
pub rel_type: EdgeType,
pub depth: i32,
pub weight: Option<f32>,
pub trajectory_id: Option<TrajectoryId>,
pub props: Option<Value>,
}Expand description
Graph link hint for context assembly (from SQL adjacency projection).
Fields§
§edge_id: EdgeId§src_type: EntityType§src_id: Uuid§dst_type: EntityType§dst_id: Uuid§rel_type: EdgeType§depth: i32§weight: Option<f32>§trajectory_id: Option<TrajectoryId>§props: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphLink
impl<'de> Deserialize<'de> for GraphLink
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
impl StructuralPartialEq for GraphLink
Auto Trait Implementations§
impl Freeze for GraphLink
impl RefUnwindSafe for GraphLink
impl Send for GraphLink
impl Sync for GraphLink
impl Unpin for GraphLink
impl UnwindSafe for GraphLink
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