pub struct KernelLimits {
pub max_model_turns: usize,
pub max_tool_calls: usize,
pub context: ContextLimits,
pub max_tool_output_bytes: usize,
}Fields§
§max_model_turns: usize§max_tool_calls: usize§context: ContextLimits§max_tool_output_bytes: usizeTrait Implementations§
Source§impl Clone for KernelLimits
impl Clone for KernelLimits
Source§fn clone(&self) -> KernelLimits
fn clone(&self) -> KernelLimits
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 moreAuto Trait Implementations§
impl Freeze for KernelLimits
impl RefUnwindSafe for KernelLimits
impl Send for KernelLimits
impl Sync for KernelLimits
impl Unpin for KernelLimits
impl UnsafeUnpin for KernelLimits
impl UnwindSafe for KernelLimits
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