pub struct ComputedGasParams {
pub max: u64,
pub limit: u64,
pub credit: u64,
}Expand description
An output of GasLimitsPrices::compute_gas_params.
Fields§
§max: u64Maximum possible value of the limit.
limit: u64Gas limit for the out-of-gas exception.
credit: u64Free gas (e.g. for external messages without any balance).
Trait Implementations§
Source§impl Clone for ComputedGasParams
impl Clone for ComputedGasParams
Source§fn clone(&self) -> ComputedGasParams
fn clone(&self) -> ComputedGasParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComputedGasParams
Auto Trait Implementations§
impl Freeze for ComputedGasParams
impl RefUnwindSafe for ComputedGasParams
impl Send for ComputedGasParams
impl Sync for ComputedGasParams
impl Unpin for ComputedGasParams
impl UnsafeUnpin for ComputedGasParams
impl UnwindSafe for ComputedGasParams
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