pub struct EmbedStats {
pub total_documents: usize,
pub embedded_documents: usize,
pub total_chunks: usize,
pub embedded_chunks: usize,
pub cached_chunks: usize,
pub computed_chunks: usize,
}Expand description
Embedding statistics
Fields§
§total_documents: usize§embedded_documents: usize§total_chunks: usize§embedded_chunks: usize§cached_chunks: usize§computed_chunks: usizeImplementations§
Source§impl EmbedStats
impl EmbedStats
pub fn cache_hit_rate(&self) -> f64
Trait Implementations§
Source§impl Clone for EmbedStats
impl Clone for EmbedStats
Source§fn clone(&self) -> EmbedStats
fn clone(&self) -> EmbedStats
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 EmbedStats
impl Debug for EmbedStats
Source§impl Default for EmbedStats
impl Default for EmbedStats
Source§fn default() -> EmbedStats
fn default() -> EmbedStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmbedStats
impl RefUnwindSafe for EmbedStats
impl Send for EmbedStats
impl Sync for EmbedStats
impl Unpin for EmbedStats
impl UnwindSafe for EmbedStats
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