pub struct SourceBreakdown {
pub source: ContextSource,
pub chars: u64,
pub est_tokens: u64,
pub share: f64,
}Expand description
Estimated share of transcript content from one ContextSource.
Fields§
§source: ContextSource§chars: u64Raw content chars attributed to this source (measured from the transcript).
est_tokens: u64Estimated tokens (chars / EST_CHARS_PER_TOKEN) — never a billed figure.
Fraction of total transcript content chars, 0.0..=1.0.
Trait Implementations§
Source§impl Clone for SourceBreakdown
impl Clone for SourceBreakdown
Source§fn clone(&self) -> SourceBreakdown
fn clone(&self) -> SourceBreakdown
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceBreakdown
impl Debug for SourceBreakdown
Auto Trait Implementations§
impl Freeze for SourceBreakdown
impl RefUnwindSafe for SourceBreakdown
impl Send for SourceBreakdown
impl Sync for SourceBreakdown
impl Unpin for SourceBreakdown
impl UnsafeUnpin for SourceBreakdown
impl UnwindSafe for SourceBreakdown
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