pub struct GasLimit {
pub per_yield: Gas,
pub total: Gas,
}Expand description
Gas limits.
Fields§
§per_yield: GasThe amount that may be spent synchronously until the execution future should yield.
total: GasThe total amount of gas that may be spent.
Implementations§
Trait Implementations§
impl Copy for GasLimit
impl Eq for GasLimit
impl StructuralPartialEq for GasLimit
Auto Trait Implementations§
impl Freeze for GasLimit
impl RefUnwindSafe for GasLimit
impl Send for GasLimit
impl Sync for GasLimit
impl Unpin for GasLimit
impl UnwindSafe for GasLimit
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