pub struct ChunkStats {
pub total_text_length: usize,
pub total_chunks: usize,
pub avg_chunk_size: usize,
pub chunk_size_config: usize,
pub overlap_config: usize,
}Expand description
Statistics about chunking
Fields§
§total_text_length: usize§total_chunks: usize§avg_chunk_size: usize§chunk_size_config: usize§overlap_config: usizeTrait Implementations§
Source§impl Clone for ChunkStats
impl Clone for ChunkStats
Source§fn clone(&self) -> ChunkStats
fn clone(&self) -> ChunkStats
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 moreAuto Trait Implementations§
impl Freeze for ChunkStats
impl RefUnwindSafe for ChunkStats
impl Send for ChunkStats
impl Sync for ChunkStats
impl Unpin for ChunkStats
impl UnwindSafe for ChunkStats
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