pub struct ContextBudgetFrame {
pub max_input_tokens: u64,
pub message_tokens: u64,
pub tool_schema_tokens: u64,
pub protocol_overhead_tokens: u64,
pub reserved_output_tokens: u64,
pub total_tokens: u64,
}Fields§
§max_input_tokens: u64§message_tokens: u64§tool_schema_tokens: u64§protocol_overhead_tokens: u64§reserved_output_tokens: u64§total_tokens: u64Trait Implementations§
Source§impl Clone for ContextBudgetFrame
impl Clone for ContextBudgetFrame
Source§fn clone(&self) -> ContextBudgetFrame
fn clone(&self) -> ContextBudgetFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextBudgetFrame
impl Debug for ContextBudgetFrame
impl Eq for ContextBudgetFrame
Source§impl PartialEq for ContextBudgetFrame
impl PartialEq for ContextBudgetFrame
impl StructuralPartialEq for ContextBudgetFrame
Auto Trait Implementations§
impl Freeze for ContextBudgetFrame
impl RefUnwindSafe for ContextBudgetFrame
impl Send for ContextBudgetFrame
impl Sync for ContextBudgetFrame
impl Unpin for ContextBudgetFrame
impl UnsafeUnpin for ContextBudgetFrame
impl UnwindSafe for ContextBudgetFrame
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