pub struct QueryRetrieverDebug {
pub retriever_name: Option<String>,
pub representation_id: Option<String>,
pub weight: Option<f64>,
pub skip_reason: Option<String>,
pub candidate_count: Option<u32>,
pub candidate_limit: Option<u32>,
pub limit_reached: Option<bool>,
pub limit_order: Option<String>,
pub normalization_min: Option<f64>,
pub normalization_max: Option<f64>,
pub excluded_list_truncated: Option<bool>,
pub parameters: HashMap<String, f64>,
}Fields§
§retriever_name: Option<String>§representation_id: Option<String>§weight: Option<f64>§skip_reason: Option<String>§candidate_count: Option<u32>§candidate_limit: Option<u32>§limit_reached: Option<bool>§limit_order: Option<String>§normalization_min: Option<f64>§normalization_max: Option<f64>§excluded_list_truncated: Option<bool>§parameters: HashMap<String, f64>Implementations§
Source§impl QueryRetrieverDebug
impl QueryRetrieverDebug
Sourcepub fn retriever_name(&self) -> &str
pub fn retriever_name(&self) -> &str
Returns the value of retriever_name, or the default value if retriever_name is unset.
Sourcepub fn representation_id(&self) -> &str
pub fn representation_id(&self) -> &str
Returns the value of representation_id, or the default value if representation_id is unset.
Sourcepub fn weight(&self) -> f64
pub fn weight(&self) -> f64
Returns the value of weight, or the default value if weight is unset.
Sourcepub fn skip_reason(&self) -> &str
pub fn skip_reason(&self) -> &str
Returns the value of skip_reason, or the default value if skip_reason is unset.
Sourcepub fn candidate_count(&self) -> u32
pub fn candidate_count(&self) -> u32
Returns the value of candidate_count, or the default value if candidate_count is unset.
Sourcepub fn candidate_limit(&self) -> u32
pub fn candidate_limit(&self) -> u32
Returns the value of candidate_limit, or the default value if candidate_limit is unset.
Sourcepub fn limit_reached(&self) -> bool
pub fn limit_reached(&self) -> bool
Returns the value of limit_reached, or the default value if limit_reached is unset.
Sourcepub fn limit_order(&self) -> &str
pub fn limit_order(&self) -> &str
Returns the value of limit_order, or the default value if limit_order is unset.
Sourcepub fn normalization_min(&self) -> f64
pub fn normalization_min(&self) -> f64
Returns the value of normalization_min, or the default value if normalization_min is unset.
Sourcepub fn normalization_max(&self) -> f64
pub fn normalization_max(&self) -> f64
Returns the value of normalization_max, or the default value if normalization_max is unset.
Sourcepub fn excluded_list_truncated(&self) -> bool
pub fn excluded_list_truncated(&self) -> bool
Returns the value of excluded_list_truncated, or the default value if excluded_list_truncated is unset.
Trait Implementations§
Source§impl Clone for QueryRetrieverDebug
impl Clone for QueryRetrieverDebug
Source§impl Debug for QueryRetrieverDebug
impl Debug for QueryRetrieverDebug
Source§impl Default for QueryRetrieverDebug
impl Default for QueryRetrieverDebug
Source§impl Message for QueryRetrieverDebug
impl Message for QueryRetrieverDebug
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 QueryRetrieverDebug
impl PartialEq for QueryRetrieverDebug
impl StructuralPartialEq for QueryRetrieverDebug
Auto Trait Implementations§
impl Freeze for QueryRetrieverDebug
impl RefUnwindSafe for QueryRetrieverDebug
impl Send for QueryRetrieverDebug
impl Sync for QueryRetrieverDebug
impl Unpin for QueryRetrieverDebug
impl UnsafeUnpin for QueryRetrieverDebug
impl UnwindSafe for QueryRetrieverDebug
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