pub struct FeedbackItem {
pub example: QueryInput,
pub score: f64,
}Expand description
One relevance feedback example with its weight.
Fields§
§example: QueryInputFeedback example input.
score: f64Weight applied to this example’s vector.
Trait Implementations§
Source§impl Clone for FeedbackItem
impl Clone for FeedbackItem
Source§fn clone(&self) -> FeedbackItem
fn clone(&self) -> FeedbackItem
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 FeedbackItem
impl Debug for FeedbackItem
Source§impl PartialEq for FeedbackItem
impl PartialEq for FeedbackItem
impl StructuralPartialEq for FeedbackItem
Auto Trait Implementations§
impl Freeze for FeedbackItem
impl RefUnwindSafe for FeedbackItem
impl Send for FeedbackItem
impl Sync for FeedbackItem
impl Unpin for FeedbackItem
impl UnsafeUnpin for FeedbackItem
impl UnwindSafe for FeedbackItem
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