pub struct BudgetLimits {
pub max_tool_calls: Option<f64>,
pub max_model_tokens: Option<f64>,
pub max_total_usd: Option<f64>,
}Fields§
§max_tool_calls: Option<f64>§max_model_tokens: Option<f64>§max_total_usd: Option<f64>Trait Implementations§
Source§impl Clone for BudgetLimits
impl Clone for BudgetLimits
Source§fn clone(&self) -> BudgetLimits
fn clone(&self) -> BudgetLimits
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 BudgetLimits
impl Debug for BudgetLimits
Source§impl Default for BudgetLimits
impl Default for BudgetLimits
Source§fn default() -> BudgetLimits
fn default() -> BudgetLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BudgetLimits
impl RefUnwindSafe for BudgetLimits
impl Send for BudgetLimits
impl Sync for BudgetLimits
impl Unpin for BudgetLimits
impl UnsafeUnpin for BudgetLimits
impl UnwindSafe for BudgetLimits
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