pub struct Allowance { /* private fields */ }Expand description
A spendable account shared by any number of calls (for example every block of one pass). Spent work is never refunded.
Implementations§
Trait Implementations§
impl Eq for Allowance
impl StructuralPartialEq for Allowance
Auto Trait Implementations§
impl Forget for Allowance
impl Freeze for Allowance
impl Move for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin for Allowance
impl UnsafeUnpin for Allowance
impl UnwindSafe for Allowance
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