pub struct StructuredOutputBudgetPlan {
pub total_output_tokens: usize,
pub reasoning_token_limit: usize,
pub boundary_token_count: usize,
pub structured_reserve_tokens: usize,
}Expand description
Immutable per-request output budget used when a structured grammar starts after a reasoning delimiter.
Fields§
§total_output_tokens: usize§reasoning_token_limit: usize§boundary_token_count: usize§structured_reserve_tokens: usizeTrait Implementations§
Source§impl Clone for StructuredOutputBudgetPlan
impl Clone for StructuredOutputBudgetPlan
Source§fn clone(&self) -> StructuredOutputBudgetPlan
fn clone(&self) -> StructuredOutputBudgetPlan
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 moreimpl Copy for StructuredOutputBudgetPlan
Source§impl Debug for StructuredOutputBudgetPlan
impl Debug for StructuredOutputBudgetPlan
impl Eq for StructuredOutputBudgetPlan
impl StructuralPartialEq for StructuredOutputBudgetPlan
Auto Trait Implementations§
impl Freeze for StructuredOutputBudgetPlan
impl RefUnwindSafe for StructuredOutputBudgetPlan
impl Send for StructuredOutputBudgetPlan
impl Sync for StructuredOutputBudgetPlan
impl Unpin for StructuredOutputBudgetPlan
impl UnsafeUnpin for StructuredOutputBudgetPlan
impl UnwindSafe for StructuredOutputBudgetPlan
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.