pub struct ContextUsageInfo {
pub percentage: f64,
pub current_usage_tokens: u64,
pub context_window_size: u64,
pub is_exact: bool,
}Expand description
Context usage information (used for display formatting)
Fields§
§percentage: f64§current_usage_tokens: u64§context_window_size: u64§is_exact: boolAuto Trait Implementations§
impl Freeze for ContextUsageInfo
impl RefUnwindSafe for ContextUsageInfo
impl Send for ContextUsageInfo
impl Sync for ContextUsageInfo
impl Unpin for ContextUsageInfo
impl UnwindSafe for ContextUsageInfo
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