pub struct GraphEvidenceQuery {
pub symbol: Option<String>,
pub kind: Option<String>,
pub limit: usize,
}Expand description
Query parameters for an evidence lookup. All fields optional except
limit (defaults to DEFAULT_EVIDENCE_LIMIT).
Fields§
§symbol: Option<String>Substring matched case-insensitively against node label, id, and
kind. None means “no symbol filter” (return top-K by connectivity).
kind: Option<String>Restrict matches to a single node kind (e.g. kg_source, concept).
limit: usizeMaximum number of matched nodes to return. Always ≥ 1.
Implementations§
Trait Implementations§
Source§impl Clone for GraphEvidenceQuery
impl Clone for GraphEvidenceQuery
Source§fn clone(&self) -> GraphEvidenceQuery
fn clone(&self) -> GraphEvidenceQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphEvidenceQuery
impl Debug for GraphEvidenceQuery
Source§impl Default for GraphEvidenceQuery
impl Default for GraphEvidenceQuery
Auto Trait Implementations§
impl Freeze for GraphEvidenceQuery
impl RefUnwindSafe for GraphEvidenceQuery
impl Send for GraphEvidenceQuery
impl Sync for GraphEvidenceQuery
impl Unpin for GraphEvidenceQuery
impl UnsafeUnpin for GraphEvidenceQuery
impl UnwindSafe for GraphEvidenceQuery
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