pub struct DebugPromptSourceMap {
pub entries: Vec<DebugSourceEntry>,
pub total_estimated_tokens: usize,
pub active_context_estimated_tokens: usize,
pub overflow_guard_estimated_tokens: Option<usize>,
pub context_window_tokens: Option<u32>,
pub context_window_source: Option<String>,
pub budget_used_percent: Option<f64>,
pub pressure_label: String,
pub context_window_verified: bool,
pub generated_at: String,
pub note: String,
}Fields§
§entries: Vec<DebugSourceEntry>§total_estimated_tokens: usize§active_context_estimated_tokens: usize§overflow_guard_estimated_tokens: Option<usize>§context_window_tokens: Option<u32>§context_window_source: Option<String>§budget_used_percent: Option<f64>§pressure_label: StringHost-owned pressure policy result; intentionally absent from the public JSON.
context_window_verified: boolVerified provenance from the host route ladder; not a public JSON field.
generated_at: String§note: StringTrait Implementations§
Source§impl Clone for DebugPromptSourceMap
impl Clone for DebugPromptSourceMap
Source§impl Debug for DebugPromptSourceMap
impl Debug for DebugPromptSourceMap
Source§impl PartialEq for DebugPromptSourceMap
impl PartialEq for DebugPromptSourceMap
Source§impl Serialize for DebugPromptSourceMap
impl Serialize for DebugPromptSourceMap
impl StructuralPartialEq for DebugPromptSourceMap
Auto Trait Implementations§
impl Forget for DebugPromptSourceMap
impl Freeze for DebugPromptSourceMap
impl Move for DebugPromptSourceMap
impl RefUnwindSafe for DebugPromptSourceMap
impl Send for DebugPromptSourceMap
impl Sync for DebugPromptSourceMap
impl Unpin for DebugPromptSourceMap
impl UnsafeUnpin for DebugPromptSourceMap
impl UnwindSafe for DebugPromptSourceMap
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