pub struct GasConsumerDeriveParams {
pub gas_max: u64,
pub gas_limit: u64,
pub isolate: bool,
}Expand description
Params to replace the current gas consumer.
Fields§
§gas_max: u64§gas_limit: u64§isolate: boolTrait Implementations§
Source§impl Clone for GasConsumerDeriveParams
impl Clone for GasConsumerDeriveParams
Source§fn clone(&self) -> GasConsumerDeriveParams
fn clone(&self) -> GasConsumerDeriveParams
Returns a duplicate 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 GasConsumerDeriveParams
impl Debug for GasConsumerDeriveParams
impl Copy for GasConsumerDeriveParams
Auto Trait Implementations§
impl Freeze for GasConsumerDeriveParams
impl RefUnwindSafe for GasConsumerDeriveParams
impl Send for GasConsumerDeriveParams
impl Sync for GasConsumerDeriveParams
impl Unpin for GasConsumerDeriveParams
impl UnwindSafe for GasConsumerDeriveParams
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