pub struct BatchStats {
pub total: usize,
pub avg_confidence: f64,
pub min_confidence: f64,
pub max_confidence: f64,
pub avg_question_len: f64,
pub avg_answer_len: f64,
pub domain_count: usize,
pub domains: HashMap<String, usize>,
}Fields§
§total: usize§avg_confidence: f64§min_confidence: f64§max_confidence: f64§avg_question_len: f64§avg_answer_len: f64§domain_count: usize§domains: HashMap<String, usize>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
Auto Trait Implementations§
impl Freeze for BatchStats
impl RefUnwindSafe for BatchStats
impl Send for BatchStats
impl Sync for BatchStats
impl Unpin for BatchStats
impl UnsafeUnpin 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