pub struct TeamBudget {
pub max_events: Option<u64>,
pub max_model_requests: Option<u64>,
pub max_tool_calls: Option<u64>,
pub max_tokens: Option<u64>,
pub max_cost_microusd: Option<u64>,
pub max_delegations: Option<u64>,
pub max_handoffs: Option<u64>,
pub max_wall_time_ms: Option<u64>,
}Expand description
Aggregate limits enforced across a root team invocation and its delegates.
Fields§
§max_events: Option<u64>Maximum emitted events.
max_model_requests: Option<u64>Maximum model responses carrying usage metadata.
max_tool_calls: Option<u64>Maximum tool calls observed in model events.
max_tokens: Option<u64>Maximum total input and output tokens.
max_cost_microusd: Option<u64>Maximum estimated cost in millionths of a US dollar.
max_delegations: Option<u64>Maximum delegation relationship executions.
max_handoffs: Option<u64>Maximum handoff relationship executions.
max_wall_time_ms: Option<u64>Maximum wall-clock duration in milliseconds.
Trait Implementations§
Source§impl Clone for TeamBudget
impl Clone for TeamBudget
Source§fn clone(&self) -> TeamBudget
fn clone(&self) -> TeamBudget
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 TeamBudget
impl Debug for TeamBudget
Source§impl Default for TeamBudget
impl Default for TeamBudget
Source§fn default() -> TeamBudget
fn default() -> TeamBudget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamBudget
impl<'de> Deserialize<'de> for TeamBudget
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 TeamBudget
Source§impl JsonSchema for TeamBudget
impl JsonSchema for TeamBudget
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TeamBudget
impl PartialEq for TeamBudget
Source§impl Serialize for TeamBudget
impl Serialize for TeamBudget
impl StructuralPartialEq for TeamBudget
Auto Trait Implementations§
impl Freeze for TeamBudget
impl RefUnwindSafe for TeamBudget
impl Send for TeamBudget
impl Sync for TeamBudget
impl Unpin for TeamBudget
impl UnsafeUnpin for TeamBudget
impl UnwindSafe for TeamBudget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.