pub struct RuntimeLimits {
pub max_steps: u32,
pub max_tool_calls: u32,
pub max_tokens: u64,
pub max_parallel_tools: usize,
pub provider_attempts: u32,
pub provider_deadline: Duration,
}Fields§
§max_steps: u32§max_tool_calls: u32§max_tokens: u64§max_parallel_tools: usize§provider_attempts: u32§provider_deadline: DurationTrait Implementations§
Source§impl Clone for RuntimeLimits
impl Clone for RuntimeLimits
Source§fn clone(&self) -> RuntimeLimits
fn clone(&self) -> RuntimeLimits
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 RuntimeLimits
impl Debug for RuntimeLimits
Auto Trait Implementations§
impl Freeze for RuntimeLimits
impl RefUnwindSafe for RuntimeLimits
impl Send for RuntimeLimits
impl Sync for RuntimeLimits
impl Unpin for RuntimeLimits
impl UnsafeUnpin for RuntimeLimits
impl UnwindSafe for RuntimeLimits
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