pub struct RerankCandidate {
pub chunk_id: ChunkId,
pub passage_text: String,
}Expand description
A candidate document passed to the reranker.
Fields§
§chunk_id: ChunkId§passage_text: StringBest available text for the passage — typically the loaded snippet.
Trait Implementations§
Source§impl Clone for RerankCandidate
impl Clone for RerankCandidate
Source§fn clone(&self) -> RerankCandidate
fn clone(&self) -> RerankCandidate
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 RerankCandidate
impl RefUnwindSafe for RerankCandidate
impl Send for RerankCandidate
impl Sync for RerankCandidate
impl Unpin for RerankCandidate
impl UnsafeUnpin for RerankCandidate
impl UnwindSafe for RerankCandidate
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