pub struct ExtendGraphBudgetRequest {
pub action_id: String,
pub additional_calls: usize,
pub budget_id: String,
pub graph: GraphControlRequest,
}Expand description
A user-initiated, recorded increase of one launched budget’s provider calls. Launch limits stay fixed; each extension is a separate record, so resuming never refills spent credit on its own.
Fields§
§action_id: StringIdempotency identity: redelivering the same extension records it once.
additional_calls: usizeProvider calls to add, from one to MAX_ADDITIONAL_CALLS.
budget_id: StringNamed budget the graph’s nodes share.
graph: GraphControlRequestGraph whose budget grows, at its current revision.
Implementations§
Source§impl ExtendGraphBudgetRequest
impl ExtendGraphBudgetRequest
Sourcepub const MAX_ADDITIONAL_CALLS: usize = 1000
pub const MAX_ADDITIONAL_CALLS: usize = 1000
Largest increase one extension may record, which bounds a mistyped amount.
Trait Implementations§
Source§impl Clone for ExtendGraphBudgetRequest
impl Clone for ExtendGraphBudgetRequest
Source§impl Debug for ExtendGraphBudgetRequest
impl Debug for ExtendGraphBudgetRequest
impl Eq for ExtendGraphBudgetRequest
Source§impl PartialEq for ExtendGraphBudgetRequest
impl PartialEq for ExtendGraphBudgetRequest
impl StructuralPartialEq for ExtendGraphBudgetRequest
Auto Trait Implementations§
impl Forget for ExtendGraphBudgetRequest
impl Freeze for ExtendGraphBudgetRequest
impl Move for ExtendGraphBudgetRequest
impl RefUnwindSafe for ExtendGraphBudgetRequest
impl Send for ExtendGraphBudgetRequest
impl Sync for ExtendGraphBudgetRequest
impl Unpin for ExtendGraphBudgetRequest
impl UnsafeUnpin for ExtendGraphBudgetRequest
impl UnwindSafe for ExtendGraphBudgetRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.