pub struct EmbeddingStats {
pub embedded: usize,
pub failed: usize,
pub skipped: usize,
pub total: usize,
}Expand description
Statistics from an embedding run.
Fields§
§embedded: usizeNumber of datasets successfully embedded.
failed: usizeNumber of datasets that failed embedding.
skipped: usizeNumber of datasets skipped (circuit breaker open).
total: usizeTotal number of datasets that needed embedding.
Implementations§
Source§impl EmbeddingStats
impl EmbeddingStats
Sourcepub fn successful(&self) -> usize
pub fn successful(&self) -> usize
Returns the number of datasets successfully processed (embedded).
Trait Implementations§
Source§impl Clone for EmbeddingStats
impl Clone for EmbeddingStats
Source§fn clone(&self) -> EmbeddingStats
fn clone(&self) -> EmbeddingStats
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 EmbeddingStats
impl Debug for EmbeddingStats
Source§impl Default for EmbeddingStats
impl Default for EmbeddingStats
Source§fn default() -> EmbeddingStats
fn default() -> EmbeddingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmbeddingStats
impl RefUnwindSafe for EmbeddingStats
impl Send for EmbeddingStats
impl Sync for EmbeddingStats
impl Unpin for EmbeddingStats
impl UnsafeUnpin for EmbeddingStats
impl UnwindSafe for EmbeddingStats
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