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<ContractOutputSelection> for ContractOutputSelection
impl PartialEq<ContractOutputSelection> for ContractOutputSelection
source§fn eq(&self, other: &ContractOutputSelection) -> bool
fn eq(&self, other: &ContractOutputSelection) -> bool
source§impl PartialOrd<ContractOutputSelection> for ContractOutputSelection
impl PartialOrd<ContractOutputSelection> for ContractOutputSelection
source§fn partial_cmp(&self, other: &ContractOutputSelection) -> Option<Ordering>
fn partial_cmp(&self, other: &ContractOutputSelection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ContractOutputSelection
impl Serialize for ContractOutputSelection
impl Copy for ContractOutputSelection
impl Eq for ContractOutputSelection
impl StructuralEq for ContractOutputSelection
impl StructuralPartialEq for ContractOutputSelection
Auto Trait Implementations§
impl RefUnwindSafe for ContractOutputSelection
impl Send for ContractOutputSelection
impl Sync for ContractOutputSelection
impl Unpin for ContractOutputSelection
impl UnwindSafe for ContractOutputSelection
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.