pub struct BudgetBreakdown {Show 21 fields
pub window_size: usize,
pub system_prompt_tokens: usize,
pub user_message_tokens: usize,
pub agent_response_tokens: usize,
pub lean_ctx_tool_tokens: usize,
pub other_mcp_tokens: usize,
pub native_read_tokens: usize,
pub shell_tokens: usize,
pub thinking_tokens: usize,
pub tracked_total: usize,
pub available: usize,
pub compaction_count: usize,
pub session_total_tokens: usize,
pub session_user_tokens: usize,
pub session_agent_tokens: usize,
pub session_lctx_tokens: usize,
pub session_mcp_tokens: usize,
pub session_native_tokens: usize,
pub session_shell_tokens: usize,
pub session_thinking_tokens: usize,
pub source: String,
}Fields§
§window_size: usize§system_prompt_tokens: usize§user_message_tokens: usize§agent_response_tokens: usize§lean_ctx_tool_tokens: usize§other_mcp_tokens: usize§native_read_tokens: usize§shell_tokens: usize§thinking_tokens: usize§tracked_total: usize§available: usize§compaction_count: usize§session_total_tokens: usize§session_user_tokens: usize§session_agent_tokens: usize§session_lctx_tokens: usize§session_mcp_tokens: usize§session_native_tokens: usize§session_shell_tokens: usize§session_thinking_tokens: usize§source: StringTrait Implementations§
Source§impl Debug for BudgetBreakdown
impl Debug for BudgetBreakdown
Auto Trait Implementations§
impl Freeze for BudgetBreakdown
impl RefUnwindSafe for BudgetBreakdown
impl Send for BudgetBreakdown
impl Sync for BudgetBreakdown
impl Unpin for BudgetBreakdown
impl UnsafeUnpin for BudgetBreakdown
impl UnwindSafe for BudgetBreakdown
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more