pub struct GraphUpdatePayload {
pub is_delta: bool,
pub node_count: usize,
pub edge_count: usize,
pub file_count: usize,
pub changed_files: Vec<String>,
pub timestamp: u64,
pub nodes: Option<Vec<CodeNode>>,
pub edges: Option<Vec<GraphEdge>>,
}Fields§
§is_delta: boolWhether this is a full snapshot or delta.
node_count: usizeNumber of nodes in the graph.
edge_count: usizeNumber of edges in the graph.
file_count: usizeNumber of files indexed.
changed_files: Vec<String>Changed files (for delta updates).
timestamp: u64Timestamp of the update.
nodes: Option<Vec<CodeNode>>§edges: Option<Vec<GraphEdge>>Trait Implementations§
Source§impl Clone for GraphUpdatePayload
impl Clone for GraphUpdatePayload
Source§fn clone(&self) -> GraphUpdatePayload
fn clone(&self) -> GraphUpdatePayload
Returns a duplicate of the value. Read more
1.0.0 · 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 GraphUpdatePayload
impl Debug for GraphUpdatePayload
Auto Trait Implementations§
impl Freeze for GraphUpdatePayload
impl RefUnwindSafe for GraphUpdatePayload
impl Send for GraphUpdatePayload
impl Sync for GraphUpdatePayload
impl Unpin for GraphUpdatePayload
impl UnsafeUnpin for GraphUpdatePayload
impl UnwindSafe for GraphUpdatePayload
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