pub struct IvfRabitqIndexParam {
pub metric: MetricType,
pub n_list: u32,
pub total_bits: u32,
pub sample_count: u32,
}Expand description
IVF RaBitQ build parameters.
Fields§
§metric: MetricType§n_list: u32§total_bits: u32§sample_count: u32Trait Implementations§
Source§impl Clone for IvfRabitqIndexParam
impl Clone for IvfRabitqIndexParam
Source§fn clone(&self) -> IvfRabitqIndexParam
fn clone(&self) -> IvfRabitqIndexParam
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 IvfRabitqIndexParam
impl Debug for IvfRabitqIndexParam
Source§impl<'de> Deserialize<'de> for IvfRabitqIndexParam
impl<'de> Deserialize<'de> for IvfRabitqIndexParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IvfRabitqIndexParam
impl PartialEq for IvfRabitqIndexParam
Source§impl Serialize for IvfRabitqIndexParam
impl Serialize for IvfRabitqIndexParam
impl StructuralPartialEq for IvfRabitqIndexParam
Auto Trait Implementations§
impl Freeze for IvfRabitqIndexParam
impl RefUnwindSafe for IvfRabitqIndexParam
impl Send for IvfRabitqIndexParam
impl Sync for IvfRabitqIndexParam
impl Unpin for IvfRabitqIndexParam
impl UnsafeUnpin for IvfRabitqIndexParam
impl UnwindSafe for IvfRabitqIndexParam
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more