pub struct FactoryDeclaredLimits {
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 factory 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 FactoryDeclaredLimits
impl Clone for FactoryDeclaredLimits
Source§impl Debug for FactoryDeclaredLimits
impl Debug for FactoryDeclaredLimits
Source§impl Default for FactoryDeclaredLimits
impl Default for FactoryDeclaredLimits
Source§impl<'de> Deserialize<'de> for FactoryDeclaredLimits
impl<'de> Deserialize<'de> for FactoryDeclaredLimits
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 FactoryDeclaredLimits
impl RefUnwindSafe for FactoryDeclaredLimits
impl Send for FactoryDeclaredLimits
impl Sync for FactoryDeclaredLimits
impl Unpin for FactoryDeclaredLimits
impl UnsafeUnpin for FactoryDeclaredLimits
impl UnwindSafe for FactoryDeclaredLimits
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