pub enum ContractOutputSelection {
Abi,
DevDoc,
UserDoc,
Metadata,
Ir,
IrOptimized,
StorageLayout,
Evm(EvmOutputSelection),
Ewasm(EwasmOutputSelection),
}
Expand description
Contract level output selection
Variants§
Abi
DevDoc
UserDoc
Metadata
Ir
IrOptimized
StorageLayout
Evm(EvmOutputSelection)
Ewasm(EwasmOutputSelection)
Implementations§
Source§impl ContractOutputSelection
impl ContractOutputSelection
Sourcepub fn basic() -> Vec<ContractOutputSelection>
pub fn basic() -> Vec<ContractOutputSelection>
Returns the basic set of contract level settings that should be included in the Contract
that solc emits:
- “abi”
- “evm.bytecode”
- “evm.deployedBytecode”
- “evm.methodIdentifiers”
Trait Implementations§
Source§impl Clone for ContractOutputSelection
impl Clone for ContractOutputSelection
Source§fn clone(&self) -> ContractOutputSelection
fn clone(&self) -> ContractOutputSelection
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 ContractOutputSelection
impl Debug for ContractOutputSelection
Source§impl<'de> Deserialize<'de> for ContractOutputSelection
impl<'de> Deserialize<'de> for ContractOutputSelection
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ContractOutputSelection
impl Display for ContractOutputSelection
Source§impl From<EwasmOutputSelection> for ContractOutputSelection
impl From<EwasmOutputSelection> for ContractOutputSelection
Source§fn from(ewasm: EwasmOutputSelection) -> Self
fn from(ewasm: EwasmOutputSelection) -> Self
Converts to this type from the input type.
Source§impl<T: Into<EvmOutputSelection>> From<T> for ContractOutputSelection
impl<T: Into<EvmOutputSelection>> From<T> for ContractOutputSelection
Source§impl FromStr for ContractOutputSelection
impl FromStr for ContractOutputSelection
Source§impl Hash for ContractOutputSelection
impl Hash for ContractOutputSelection
Source§impl Ord for ContractOutputSelection
impl Ord for ContractOutputSelection
Source§fn cmp(&self, other: &ContractOutputSelection) -> Ordering
fn cmp(&self, other: &ContractOutputSelection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContractOutputSelection
impl PartialEq for ContractOutputSelection
Source§impl PartialOrd for ContractOutputSelection
impl PartialOrd for ContractOutputSelection
Source§impl Serialize for ContractOutputSelection
impl Serialize for ContractOutputSelection
impl Copy for ContractOutputSelection
impl Eq for ContractOutputSelection
impl StructuralPartialEq for ContractOutputSelection
Auto Trait Implementations§
impl Freeze for ContractOutputSelection
impl RefUnwindSafe for ContractOutputSelection
impl Send for ContractOutputSelection
impl Sync for ContractOutputSelection
impl Unpin for ContractOutputSelection
impl UnwindSafe for ContractOutputSelection
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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