pub struct RerankResponse {
pub ranked: Vec<RankedItem>,
pub model: String,
}Expand description
Response from a reranking operation.
Fields§
§ranked: Vec<RankedItem>Ranked items, sorted by score descending.
model: StringModel that performed the reranking.
Trait Implementations§
Source§impl Clone for RerankResponse
impl Clone for RerankResponse
Source§fn clone(&self) -> RerankResponse
fn clone(&self) -> RerankResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 RerankResponse
impl RefUnwindSafe for RerankResponse
impl Send for RerankResponse
impl Sync for RerankResponse
impl Unpin for RerankResponse
impl UnwindSafe for RerankResponse
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