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§fn eq(&self, other: &ContractOutputSelection) -> bool
fn eq(&self, other: &ContractOutputSelection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContractOutputSelection
impl PartialOrd 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 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<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> 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.