pub enum Allowance {
Unlimited,
Limited(NonZeroU128),
}
Expand description
Allow an access key to spend either an unlimited or limited amount of gas
Variants§
Unlimited
Limited(NonZeroU128)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin 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