pub struct BudgetAllocateCommand { /* private fields */ }Expand description
Semantic command for budget allocation mutation.
Implementations§
Source§impl BudgetAllocateCommand
impl BudgetAllocateCommand
Sourcepub fn new(
sequence: u64,
task_id: TaskId,
dimension: BudgetDimension,
limit: u64,
timestamp: u64,
) -> Self
pub fn new( sequence: u64, task_id: TaskId, dimension: BudgetDimension, limit: u64, timestamp: u64, ) -> Self
Creates a new budget-allocate command.
Sourcepub fn dimension(&self) -> BudgetDimension
pub fn dimension(&self) -> BudgetDimension
Returns the budget dimension.
Trait Implementations§
Source§impl Clone for BudgetAllocateCommand
impl Clone for BudgetAllocateCommand
Source§fn clone(&self) -> BudgetAllocateCommand
fn clone(&self) -> BudgetAllocateCommand
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 BudgetAllocateCommand
impl Debug for BudgetAllocateCommand
Source§impl PartialEq for BudgetAllocateCommand
impl PartialEq for BudgetAllocateCommand
impl Copy for BudgetAllocateCommand
impl Eq for BudgetAllocateCommand
impl StructuralPartialEq for BudgetAllocateCommand
Auto Trait Implementations§
impl Freeze for BudgetAllocateCommand
impl RefUnwindSafe for BudgetAllocateCommand
impl Send for BudgetAllocateCommand
impl Sync for BudgetAllocateCommand
impl Unpin for BudgetAllocateCommand
impl UnsafeUnpin for BudgetAllocateCommand
impl UnwindSafe for BudgetAllocateCommand
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