pub struct RerankScore {
pub chunk_id: ChunkId,
pub score: f32,
}Expand description
Per-candidate rerank score (higher = more relevant).
Fields§
§chunk_id: ChunkId§score: f32Trait Implementations§
Source§impl Clone for RerankScore
impl Clone for RerankScore
Source§fn clone(&self) -> RerankScore
fn clone(&self) -> RerankScore
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 moreAuto Trait Implementations§
impl Freeze for RerankScore
impl RefUnwindSafe for RerankScore
impl Send for RerankScore
impl Sync for RerankScore
impl Unpin for RerankScore
impl UnsafeUnpin for RerankScore
impl UnwindSafe for RerankScore
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