Struct fuel_vm::interpreter::InterpreterParams
source · pub struct InterpreterParams {
pub gas_costs: GasCosts,
pub max_inputs: u64,
pub contract_max_size: u64,
pub tx_offset: usize,
pub max_message_data_length: u64,
pub chain_id: ChainId,
pub fee_params: FeeParameters,
}
Expand description
Interpreter parameters
Fields§
§gas_costs: GasCosts
Gas costs
max_inputs: u64
Maximum number of inputs
contract_max_size: u64
Maximum size of the contract in bytes
tx_offset: usize
Offset of the transaction data in the memory
max_message_data_length: u64
Maximum length of the message data
chain_id: ChainId
Chain ID
fee_params: FeeParameters
Fee parameters
Trait Implementations§
source§impl Clone for InterpreterParams
impl Clone for InterpreterParams
source§fn clone(&self) -> InterpreterParams
fn clone(&self) -> InterpreterParams
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 InterpreterParams
impl Debug for InterpreterParams
source§impl Default for InterpreterParams
impl Default for InterpreterParams
source§impl From<&ConsensusParameters> for InterpreterParams
impl From<&ConsensusParameters> for InterpreterParams
source§fn from(value: &ConsensusParameters) -> Self
fn from(value: &ConsensusParameters) -> Self
Converts to this type from the input type.
source§impl From<CheckPredicateParams> for InterpreterParams
impl From<CheckPredicateParams> for InterpreterParams
source§fn from(params: CheckPredicateParams) -> Self
fn from(params: CheckPredicateParams) -> Self
Converts to this type from the input type.
source§impl From<ConsensusParameters> for InterpreterParams
impl From<ConsensusParameters> for InterpreterParams
source§fn from(value: ConsensusParameters) -> Self
fn from(value: ConsensusParameters) -> Self
Converts to this type from the input type.
source§impl PartialEq<InterpreterParams> for InterpreterParams
impl PartialEq<InterpreterParams> for InterpreterParams
source§fn eq(&self, other: &InterpreterParams) -> bool
fn eq(&self, other: &InterpreterParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterpreterParams
impl StructuralEq for InterpreterParams
impl StructuralPartialEq for InterpreterParams
Auto Trait Implementations§
impl RefUnwindSafe for InterpreterParams
impl Send for InterpreterParams
impl Sync for InterpreterParams
impl Unpin for InterpreterParams
impl UnwindSafe for InterpreterParams
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more