Struct ethers_solc::artifacts::contract::CompactContractSome
source · pub struct CompactContractSome {
pub abi: Abi,
pub bin: BytecodeObject,
pub bin_runtime: BytecodeObject,
}
Expand description
Minimal representation of a contract’s artifact with a present abi and bytecode.
Fields§
§abi: Abi
The Ethereum Contract ABI. If empty, it is represented as an empty array. See https://docs.soliditylang.org/en/develop/abi-spec.html
bin: BytecodeObject
§bin_runtime: BytecodeObject
Trait Implementations§
source§impl Clone for CompactContractSome
impl Clone for CompactContractSome
source§fn clone(&self) -> CompactContractSome
fn clone(&self) -> CompactContractSome
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 CompactContractSome
impl Debug for CompactContractSome
source§impl Default for CompactContractSome
impl Default for CompactContractSome
source§fn default() -> CompactContractSome
fn default() -> CompactContractSome
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompactContractSome
impl<'de> Deserialize<'de> for CompactContractSome
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 From<CompactContractSome> for CompactContract
impl From<CompactContractSome> for CompactContract
source§fn from(c: CompactContractSome) -> Self
fn from(c: CompactContractSome) -> Self
Converts to this type from the input type.
source§impl PartialEq<CompactContractSome> for CompactContractSome
impl PartialEq<CompactContractSome> for CompactContractSome
source§fn eq(&self, other: &CompactContractSome) -> bool
fn eq(&self, other: &CompactContractSome) -> bool
source§impl Serialize for CompactContractSome
impl Serialize for CompactContractSome
source§impl TryFrom<CompactContract> for CompactContractSome
impl TryFrom<CompactContract> for CompactContractSome
§type Error = CompactContract
type Error = CompactContract
The type returned in the event of a conversion error.