pub struct HeavyItem {
pub source: ContextSource,
pub label: Option<String>,
pub session_id: String,
pub chars: u64,
pub est_tokens: u64,
}Expand description
One unusually large individual context contributor (the context “fat tail”).
Fields§
§source: ContextSource§label: Option<String>Tool name / MCP server / short content summary, when known.
session_id: StringSession the item belongs to.
chars: u64§est_tokens: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for HeavyItem
impl RefUnwindSafe for HeavyItem
impl Send for HeavyItem
impl Sync for HeavyItem
impl Unpin for HeavyItem
impl UnsafeUnpin for HeavyItem
impl UnwindSafe for HeavyItem
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