#[non_exhaustive]pub struct ReleaseBudgetArgs {
pub budget_id: BudgetId,
pub execution_id: ExecutionId,
}Expand description
Args for crate::engine_backend::EngineBackend::release_budget.
Per-execution release-my-attribution, not whole-budget flush. Called when an execution terminates so the budget persists across executions but this execution’s attribution is reversed. Per cairn clarification on #454.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.budget_id: BudgetId§execution_id: ExecutionIdImplementations§
Source§impl ReleaseBudgetArgs
impl ReleaseBudgetArgs
pub fn new(budget_id: BudgetId, execution_id: ExecutionId) -> Self
Trait Implementations§
Source§impl Clone for ReleaseBudgetArgs
impl Clone for ReleaseBudgetArgs
Source§fn clone(&self) -> ReleaseBudgetArgs
fn clone(&self) -> ReleaseBudgetArgs
Returns a duplicate of the value. Read more
1.0.0 · 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 ReleaseBudgetArgs
impl Debug for ReleaseBudgetArgs
Source§impl<'de> Deserialize<'de> for ReleaseBudgetArgs
impl<'de> Deserialize<'de> for ReleaseBudgetArgs
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 ReleaseBudgetArgs
impl RefUnwindSafe for ReleaseBudgetArgs
impl Send for ReleaseBudgetArgs
impl Sync for ReleaseBudgetArgs
impl Unpin for ReleaseBudgetArgs
impl UnsafeUnpin for ReleaseBudgetArgs
impl UnwindSafe for ReleaseBudgetArgs
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