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
impl Copy for ExtraOutputValues
impl Eq for ExtraOutputValues
impl StructuralPartialEq for ExtraOutputValues
Auto Trait Implementations§
impl Freeze for ExtraOutputValues
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more