pub struct DebugTurnStopDiagnostics {Show 22 fields
pub status: Option<DebugTurnOutcomeStatus>,
pub reason: Option<DebugTurnStopReason>,
pub effective_max_steps: Option<u32>,
pub step_budget_source: String,
pub model_step_index: u32,
pub model_requests_started: u32,
pub transport_retries: u32,
pub transparent_stream_retries: u32,
pub stream_resumes: u32,
pub reasoning_only_reprompts: u32,
pub empty_stop_retries: u32,
pub final_report_requested: bool,
pub permission_strategy_switches: u32,
pub permission_denial_rounds_without_progress: u32,
pub last_provider_finish_reason: Option<DebugBoundedString>,
pub last_response_tool_calls: Option<usize>,
pub last_response_tool_calls_suppressed: Option<usize>,
pub last_reported_input_tokens: Option<u32>,
pub route_context_window_tokens: Option<u64>,
pub last_prepared_output_limit_tokens: Option<u32>,
pub automatic_compaction_attempts: u32,
pub emergency_compaction_attempts: u32,
}Expand description
Precise, terminal facts: every optional counter retains unknown vs zero.
Fields§
§status: Option<DebugTurnOutcomeStatus>§reason: Option<DebugTurnStopReason>§effective_max_steps: Option<u32>§step_budget_source: String§model_step_index: u32§model_requests_started: u32§transport_retries: u32§transparent_stream_retries: u32§stream_resumes: u32§reasoning_only_reprompts: u32§empty_stop_retries: u32§final_report_requested: bool§permission_strategy_switches: u32§permission_denial_rounds_without_progress: u32§last_provider_finish_reason: Option<DebugBoundedString>§last_response_tool_calls: Option<usize>§last_response_tool_calls_suppressed: Option<usize>§last_reported_input_tokens: Option<u32>§route_context_window_tokens: Option<u64>§last_prepared_output_limit_tokens: Option<u32>§automatic_compaction_attempts: u32§emergency_compaction_attempts: u32Trait Implementations§
Source§impl Clone for DebugTurnStopDiagnostics
impl Clone for DebugTurnStopDiagnostics
Source§impl Debug for DebugTurnStopDiagnostics
impl Debug for DebugTurnStopDiagnostics
Source§impl PartialEq for DebugTurnStopDiagnostics
impl PartialEq for DebugTurnStopDiagnostics
Source§impl Serialize for DebugTurnStopDiagnostics
impl Serialize for DebugTurnStopDiagnostics
impl StructuralPartialEq for DebugTurnStopDiagnostics
Auto Trait Implementations§
impl Freeze for DebugTurnStopDiagnostics
impl RefUnwindSafe for DebugTurnStopDiagnostics
impl Send for DebugTurnStopDiagnostics
impl Sync for DebugTurnStopDiagnostics
impl Unpin for DebugTurnStopDiagnostics
impl UnsafeUnpin for DebugTurnStopDiagnostics
impl UnwindSafe for DebugTurnStopDiagnostics
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