pub struct GraphNode {
pub entity_name: String,
pub entity_type: EntityType,
pub message_ids: Vec<String>,
pub mention_count: u32,
pub importance: f32,
}Expand description
A node in the relationship graph.
Fields§
§entity_name: StringName of the entity.
entity_type: EntityTypeType classification of the entity.
message_ids: Vec<String>IDs of messages where this entity was mentioned.
mention_count: u32Total number of mentions across all messages.
importance: f32Computed importance score.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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