pub struct ContextBudget {
pub self_context_tokens: u32,
pub collective_tokens: u32,
pub task_context_tokens: u32,
pub execution_awareness_tokens: u32,
pub handoff_context_tokens: u32,
pub overflow_policy: OverflowPolicy,
}Expand description
Token budgets per context layer.
Fields§
§self_context_tokens: u32§collective_tokens: u32§task_context_tokens: u32§execution_awareness_tokens: u32§handoff_context_tokens: u32§overflow_policy: OverflowPolicyTrait Implementations§
Source§impl Clone for ContextBudget
impl Clone for ContextBudget
Source§fn clone(&self) -> ContextBudget
fn clone(&self) -> ContextBudget
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 ContextBudget
impl Debug for ContextBudget
Source§impl Default for ContextBudget
impl Default for ContextBudget
Source§impl<'de> Deserialize<'de> for ContextBudget
impl<'de> Deserialize<'de> for ContextBudget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContextBudget
impl RefUnwindSafe for ContextBudget
impl Send for ContextBudget
impl Sync for ContextBudget
impl Unpin for ContextBudget
impl UnsafeUnpin for ContextBudget
impl UnwindSafe for ContextBudget
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