Struct ethers_solc::ExtraOutputValues
source · pub struct ExtraOutputValues {Show 16 fields
pub ast: bool,
pub userdoc: bool,
pub devdoc: bool,
pub method_identifiers: bool,
pub storage_layout: bool,
pub assembly: bool,
pub gas_estimates: bool,
pub compact_format: bool,
pub metadata: bool,
pub ir: bool,
pub ir_optimized: bool,
pub ewasm: bool,
pub function_debug_data: bool,
pub generated_sources: bool,
pub source_map: bool,
pub opcodes: bool,
/* private fields */
}Expand description
Determines the additional values to include in the contract’s artifact file
Fields§
§ast: bool§userdoc: bool§devdoc: bool§method_identifiers: bool§storage_layout: bool§assembly: bool§gas_estimates: bool§compact_format: bool§metadata: bool§ir: bool§ir_optimized: bool§ewasm: bool§function_debug_data: bool§generated_sources: bool§source_map: bool§opcodes: boolImplementations§
source§impl ExtraOutputValues
impl ExtraOutputValues
sourcepub fn from_output_selection(
settings: impl IntoIterator<Item = ContractOutputSelection>
) -> Self
pub fn from_output_selection( settings: impl IntoIterator<Item = ContractOutputSelection> ) -> Self
Sets the values based on a set of ContractOutputSelection
Trait Implementations§
source§impl Clone for ExtraOutputValues
impl Clone for ExtraOutputValues
source§fn clone(&self) -> ExtraOutputValues
fn clone(&self) -> ExtraOutputValues
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 ExtraOutputValues
impl Debug for ExtraOutputValues
source§impl Default for ExtraOutputValues
impl Default for ExtraOutputValues
source§fn default() -> ExtraOutputValues
fn default() -> ExtraOutputValues
Returns the “default value” for a type. Read more
source§impl PartialEq<ExtraOutputValues> for ExtraOutputValues
impl PartialEq<ExtraOutputValues> for ExtraOutputValues
source§fn eq(&self, other: &ExtraOutputValues) -> bool
fn eq(&self, other: &ExtraOutputValues) -> bool
This method tests for
self and other values to be equal, and is used
by ==.