pub struct QueryNode {
pub chunk_id: String,
pub alias: Option<String>,
pub depth: usize,
pub reached_via: Option<EdgeType>,
pub parent: Option<String>,
pub token_estimate: usize,
}Expand description
A node in query results with traversal metadata
Fields§
§chunk_id: StringThe chunk ID
alias: Option<String>Primary alias if available
depth: usizeDepth from starting node
reached_via: Option<EdgeType>How this node was reached
parent: Option<String>Parent node in traversal
token_estimate: usizeToken estimate for budgeting
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryNode
impl<'de> Deserialize<'de> for QueryNode
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 QueryNode
impl RefUnwindSafe for QueryNode
impl Send for QueryNode
impl Sync for QueryNode
impl Unpin for QueryNode
impl UnwindSafe for QueryNode
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