pub struct AgentTaskLimits {
pub deadline_seconds: u64,
pub max_model_turns: usize,
pub max_tool_calls: usize,
}Fields§
§deadline_seconds: u64§max_model_turns: usize§max_tool_calls: usizeTrait Implementations§
Source§impl Clone for AgentTaskLimits
impl Clone for AgentTaskLimits
Source§fn clone(&self) -> AgentTaskLimits
fn clone(&self) -> AgentTaskLimits
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 AgentTaskLimits
impl Debug for AgentTaskLimits
Source§impl Default for AgentTaskLimits
impl Default for AgentTaskLimits
Source§impl<'de> Deserialize<'de> for AgentTaskLimits
impl<'de> Deserialize<'de> for AgentTaskLimits
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
impl Eq for AgentTaskLimits
Source§impl PartialEq for AgentTaskLimits
impl PartialEq for AgentTaskLimits
Source§impl Serialize for AgentTaskLimits
impl Serialize for AgentTaskLimits
impl StructuralPartialEq for AgentTaskLimits
Auto Trait Implementations§
impl Freeze for AgentTaskLimits
impl RefUnwindSafe for AgentTaskLimits
impl Send for AgentTaskLimits
impl Sync for AgentTaskLimits
impl Unpin for AgentTaskLimits
impl UnsafeUnpin for AgentTaskLimits
impl UnwindSafe for AgentTaskLimits
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