pub struct QueryDebug {Show 13 fields
pub searched_workspace_rid: Option<String>,
pub retrievers: Vec<QueryRetrieverDebug>,
pub fusion_rule: Option<String>,
pub normalization_rule: Option<String>,
pub tie_break_rule: Option<String>,
pub distinct_candidate_count: Option<u32>,
pub query_terms: Vec<String>,
pub query_term_count: Option<u32>,
pub query_terms_truncated: Option<bool>,
pub candidates: Vec<QueryCandidateDebug>,
pub excluded_candidates: Vec<QueryCandidateDebug>,
pub excluded_candidates_truncated: Option<bool>,
pub embedding: Option<KnowledgeEmbeddingDebug>,
}Fields§
§searched_workspace_rid: Option<String>§retrievers: Vec<QueryRetrieverDebug>§fusion_rule: Option<String>§normalization_rule: Option<String>§tie_break_rule: Option<String>§distinct_candidate_count: Option<u32>§query_terms: Vec<String>§query_term_count: Option<u32>§query_terms_truncated: Option<bool>§candidates: Vec<QueryCandidateDebug>§excluded_candidates: Vec<QueryCandidateDebug>§excluded_candidates_truncated: Option<bool>§embedding: Option<KnowledgeEmbeddingDebug>Implementations§
Source§impl QueryDebug
impl QueryDebug
Sourcepub fn searched_workspace_rid(&self) -> &str
pub fn searched_workspace_rid(&self) -> &str
Returns the value of searched_workspace_rid, or the default value if searched_workspace_rid is unset.
Sourcepub fn fusion_rule(&self) -> &str
pub fn fusion_rule(&self) -> &str
Returns the value of fusion_rule, or the default value if fusion_rule is unset.
Sourcepub fn normalization_rule(&self) -> &str
pub fn normalization_rule(&self) -> &str
Returns the value of normalization_rule, or the default value if normalization_rule is unset.
Sourcepub fn tie_break_rule(&self) -> &str
pub fn tie_break_rule(&self) -> &str
Returns the value of tie_break_rule, or the default value if tie_break_rule is unset.
Sourcepub fn distinct_candidate_count(&self) -> u32
pub fn distinct_candidate_count(&self) -> u32
Returns the value of distinct_candidate_count, or the default value if distinct_candidate_count is unset.
Sourcepub fn query_term_count(&self) -> u32
pub fn query_term_count(&self) -> u32
Returns the value of query_term_count, or the default value if query_term_count is unset.
Sourcepub fn query_terms_truncated(&self) -> bool
pub fn query_terms_truncated(&self) -> bool
Returns the value of query_terms_truncated, or the default value if query_terms_truncated is unset.
Sourcepub fn excluded_candidates_truncated(&self) -> bool
pub fn excluded_candidates_truncated(&self) -> bool
Returns the value of excluded_candidates_truncated, or the default value if excluded_candidates_truncated is unset.
Trait Implementations§
Source§impl Clone for QueryDebug
impl Clone for QueryDebug
Source§impl Debug for QueryDebug
impl Debug for QueryDebug
Source§impl Default for QueryDebug
impl Default for QueryDebug
Source§impl Message for QueryDebug
impl Message for QueryDebug
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for QueryDebug
impl PartialEq for QueryDebug
impl StructuralPartialEq for QueryDebug
Auto Trait Implementations§
impl Freeze for QueryDebug
impl RefUnwindSafe for QueryDebug
impl Send for QueryDebug
impl Sync for QueryDebug
impl Unpin for QueryDebug
impl UnsafeUnpin for QueryDebug
impl UnwindSafe for QueryDebug
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request