pub struct InitialAndFloorGas {
pub initial_gas: u64,
pub floor_gas: u64,
}
Expand description
Init and floor gas from transaction
Fields§
§initial_gas: u64
Initial gas for transaction.
floor_gas: u64
If transaction is a Call and Prague is enabled floor_gas is at least amount of gas that is going to be spent.
Trait Implementations§
Source§impl Clone for InitialAndFloorGas
impl Clone for InitialAndFloorGas
Source§fn clone(&self) -> InitialAndFloorGas
fn clone(&self) -> InitialAndFloorGas
Returns a copy 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 InitialAndFloorGas
impl Debug for InitialAndFloorGas
Source§impl Default for InitialAndFloorGas
impl Default for InitialAndFloorGas
Source§fn default() -> InitialAndFloorGas
fn default() -> InitialAndFloorGas
Returns the “default value” for a type. Read more
impl Copy for InitialAndFloorGas
Auto Trait Implementations§
impl Freeze for InitialAndFloorGas
impl RefUnwindSafe for InitialAndFloorGas
impl Send for InitialAndFloorGas
impl Sync for InitialAndFloorGas
impl Unpin for InitialAndFloorGas
impl UnwindSafe for InitialAndFloorGas
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