pub struct BatchStats {
pub total: usize,
pub succeeded: usize,
pub failed: usize,
pub total_time: Duration,
}Expand description
Statistics for a batch quantization operation
Fields§
§total: usizeTotal number of vectors processed
succeeded: usizeNumber of vectors successfully quantized
failed: usizeNumber of vectors that failed quantization
total_time: DurationTotal time taken for the operation
Trait Implementations§
Source§impl Clone for BatchStats
impl Clone for BatchStats
Source§fn clone(&self) -> BatchStats
fn clone(&self) -> BatchStats
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 moreSource§impl Debug for BatchStats
impl Debug for BatchStats
Source§impl Default for BatchStats
impl Default for BatchStats
Source§fn default() -> BatchStats
fn default() -> BatchStats
Returns the “default value” for a type. Read more
impl Copy for BatchStats
Auto Trait Implementations§
impl Freeze for BatchStats
impl RefUnwindSafe for BatchStats
impl Send for BatchStats
impl Sync for BatchStats
impl Unpin for BatchStats
impl UnwindSafe for BatchStats
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