pub struct BatchStats {
pub batch_count: usize,
pub avg_batch_size: f64,
pub sequential_batches: usize,
pub parallel_batches: usize,
pub efficiency: f64,
}Expand description
Statistics about batching strategy
Fields§
§batch_count: usizeNumber of batches
avg_batch_size: f64Average batch size
sequential_batches: usizeNumber of sequential-only batches
parallel_batches: usizeNumber of parallel batches
efficiency: f64Parallelization efficiency (0.0 to 1.0)
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<'de> Deserialize<'de> for BatchStats
impl<'de> Deserialize<'de> for BatchStats
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
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