pub struct TokenAccountingTotals {
pub measured_tokens_saved: i128,
pub gross_modeled_tokens_avoided: i128,
pub deduped_modeled_tokens_avoided: i128,
pub repeated_baselines_deduped: u128,
pub observed_file_read_replacements: u128,
pub modeled_file_reads_avoided: u128,
}Expand description
Wide separated accounting totals before narrowing to the public report representation.
Fields§
§measured_tokens_saved: i128Observed before/after saved tokens.
gross_modeled_tokens_avoided: i128Gross modeled avoided tokens before baseline deduplication.
deduped_modeled_tokens_avoided: i128Modeled avoided tokens after runtime-instance baseline deduplication.
repeated_baselines_deduped: u128Number of repeated modeled baseline calls collapsed by deduplication.
observed_file_read_replacements: u128Observed calls that replaced a whole-file read.
modeled_file_reads_avoided: u128Modeled navigation calls that likely avoided a whole-file read.
Trait Implementations§
Source§impl Clone for TokenAccountingTotals
impl Clone for TokenAccountingTotals
Source§fn clone(&self) -> TokenAccountingTotals
fn clone(&self) -> TokenAccountingTotals
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 TokenAccountingTotals
impl Debug for TokenAccountingTotals
Source§impl Default for TokenAccountingTotals
impl Default for TokenAccountingTotals
Source§fn default() -> TokenAccountingTotals
fn default() -> TokenAccountingTotals
Returns the “default value” for a type. Read more
Source§impl PartialEq for TokenAccountingTotals
impl PartialEq for TokenAccountingTotals
impl Copy for TokenAccountingTotals
impl Eq for TokenAccountingTotals
impl StructuralPartialEq for TokenAccountingTotals
Auto Trait Implementations§
impl Freeze for TokenAccountingTotals
impl RefUnwindSafe for TokenAccountingTotals
impl Send for TokenAccountingTotals
impl Sync for TokenAccountingTotals
impl Unpin for TokenAccountingTotals
impl UnwindSafe for TokenAccountingTotals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.