pub struct HyperQuantProfileEval {
pub kind: LatticeKind,
pub mean_mse: f32,
pub max_mse: f32,
pub mean_bytes_per_vector: f32,
pub estimated_raw_bytes_per_vector: usize,
pub estimated_compressed_bytes_per_vector: usize,
pub rejected_vectors: usize,
pub receipt_count: usize,
}Expand description
Per-lattice profile result.
Fields§
§kind: LatticeKind§mean_mse: f32§max_mse: f32§mean_bytes_per_vector: f32§estimated_raw_bytes_per_vector: usize§estimated_compressed_bytes_per_vector: usize§rejected_vectors: usize§receipt_count: usizeTrait Implementations§
Source§impl Clone for HyperQuantProfileEval
impl Clone for HyperQuantProfileEval
Source§fn clone(&self) -> HyperQuantProfileEval
fn clone(&self) -> HyperQuantProfileEval
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 HyperQuantProfileEval
impl Debug for HyperQuantProfileEval
Source§impl<'de> Deserialize<'de> for HyperQuantProfileEval
impl<'de> Deserialize<'de> for HyperQuantProfileEval
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 HyperQuantProfileEval
impl PartialEq for HyperQuantProfileEval
Source§fn eq(&self, other: &HyperQuantProfileEval) -> bool
fn eq(&self, other: &HyperQuantProfileEval) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HyperQuantProfileEval
impl Serialize for HyperQuantProfileEval
impl StructuralPartialEq for HyperQuantProfileEval
Auto Trait Implementations§
impl Freeze for HyperQuantProfileEval
impl RefUnwindSafe for HyperQuantProfileEval
impl Send for HyperQuantProfileEval
impl Sync for HyperQuantProfileEval
impl Unpin for HyperQuantProfileEval
impl UnsafeUnpin for HyperQuantProfileEval
impl UnwindSafe for HyperQuantProfileEval
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