pub struct AgentBudgets {
pub tokens: TokenBudget,
pub time: TimeBudget,
pub money: MoneyBudget,
pub iterations: IterationBudget,
}Fields§
§tokens: TokenBudget§time: TimeBudget§money: MoneyBudget§iterations: IterationBudgetTrait Implementations§
Source§impl Clone for AgentBudgets
impl Clone for AgentBudgets
Source§fn clone(&self) -> AgentBudgets
fn clone(&self) -> AgentBudgets
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 AgentBudgets
impl Debug for AgentBudgets
impl Copy for AgentBudgets
Auto Trait Implementations§
impl Freeze for AgentBudgets
impl RefUnwindSafe for AgentBudgets
impl Send for AgentBudgets
impl Sync for AgentBudgets
impl Unpin for AgentBudgets
impl UnsafeUnpin for AgentBudgets
impl UnwindSafe for AgentBudgets
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