pub struct WorkflowDeclaredLimits {
pub max_ai_credits: Option<f64>,
pub max_concurrent_subagents: Option<i64>,
pub max_total_subagents: Option<i64>,
pub timeout_seconds: Option<f64>,
}Expand description
Declared or approved workflow resource ceilings.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§max_ai_credits: Option<f64>Maximum AI credits consumed by subagents and descendants.
max_concurrent_subagents: Option<i64>Maximum concurrently active subagents.
max_total_subagents: Option<i64>Maximum total subagents spawned by the run.
timeout_seconds: Option<f64>Maximum accumulated active execution time in seconds.
Trait Implementations§
Source§impl Clone for WorkflowDeclaredLimits
impl Clone for WorkflowDeclaredLimits
Source§impl Debug for WorkflowDeclaredLimits
impl Debug for WorkflowDeclaredLimits
Source§impl Default for WorkflowDeclaredLimits
impl Default for WorkflowDeclaredLimits
Source§impl<'de> Deserialize<'de> for WorkflowDeclaredLimits
impl<'de> Deserialize<'de> for WorkflowDeclaredLimits
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
Auto Trait Implementations§
impl Freeze for WorkflowDeclaredLimits
impl RefUnwindSafe for WorkflowDeclaredLimits
impl Send for WorkflowDeclaredLimits
impl Sync for WorkflowDeclaredLimits
impl Unpin for WorkflowDeclaredLimits
impl UnsafeUnpin for WorkflowDeclaredLimits
impl UnwindSafe for WorkflowDeclaredLimits
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