pub struct RerankParams {
pub vector: Vec<f32>,
pub kind: String,
pub weight: f32,
}Fields§
§vector: Vec<f32>§kind: String§weight: f32Trait Implementations§
Source§impl Clone for RerankParams
impl Clone for RerankParams
Source§fn clone(&self) -> RerankParams
fn clone(&self) -> RerankParams
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 RerankParams
impl RefUnwindSafe for RerankParams
impl Send for RerankParams
impl Sync for RerankParams
impl Unpin for RerankParams
impl UnsafeUnpin for RerankParams
impl UnwindSafe for RerankParams
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