pub struct ProductQuantizationQuality {
pub mean_squared_error: f64,
pub maximum_squared_error: f64,
}Expand description
Reconstruction measurements committed into a PQ manifest.
Fields§
§mean_squared_error: f64§maximum_squared_error: f64Trait Implementations§
Source§impl Clone for ProductQuantizationQuality
impl Clone for ProductQuantizationQuality
Source§fn clone(&self) -> ProductQuantizationQuality
fn clone(&self) -> ProductQuantizationQuality
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 moreimpl Copy for ProductQuantizationQuality
Source§impl Debug for ProductQuantizationQuality
impl Debug for ProductQuantizationQuality
Source§impl Default for ProductQuantizationQuality
impl Default for ProductQuantizationQuality
Source§fn default() -> ProductQuantizationQuality
fn default() -> ProductQuantizationQuality
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ProductQuantizationQuality
Auto Trait Implementations§
impl Freeze for ProductQuantizationQuality
impl RefUnwindSafe for ProductQuantizationQuality
impl Send for ProductQuantizationQuality
impl Sync for ProductQuantizationQuality
impl Unpin for ProductQuantizationQuality
impl UnsafeUnpin for ProductQuantizationQuality
impl UnwindSafe for ProductQuantizationQuality
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,
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