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: bool
Implementations§
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 for ExtraOutputValues
impl PartialEq 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 ==
.impl Copy for ExtraOutputValues
impl Eq for ExtraOutputValues
impl StructuralPartialEq for ExtraOutputValues
Auto Trait Implementations§
impl RefUnwindSafe for ExtraOutputValues
impl Send for ExtraOutputValues
impl Sync for ExtraOutputValues
impl Unpin for ExtraOutputValues
impl UnwindSafe for ExtraOutputValues
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.