Struct ethers_solc::artifacts::contract::ContractBytecodeSome
source · pub struct ContractBytecodeSome {
pub abi: Abi,
pub bytecode: Bytecode,
pub deployed_bytecode: DeployedBytecode,
}
Expand description
Minimal representation of a contract with a present abi and bytecode.
Unlike CompactContractSome
which contains the BytecodeObject
, this holds the whole
Bytecode
object.
Fields§
§abi: Abi
§bytecode: Bytecode
§deployed_bytecode: DeployedBytecode
Trait Implementations§
source§impl Clone for ContractBytecodeSome
impl Clone for ContractBytecodeSome
source§fn clone(&self) -> ContractBytecodeSome
fn clone(&self) -> ContractBytecodeSome
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 ContractBytecodeSome
impl Debug for ContractBytecodeSome
source§impl<'de> Deserialize<'de> for ContractBytecodeSome
impl<'de> Deserialize<'de> for ContractBytecodeSome
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<ContractBytecodeSome> for CompactContract
impl From<ContractBytecodeSome> for CompactContract
source§fn from(c: ContractBytecodeSome) -> Self
fn from(c: ContractBytecodeSome) -> Self
Converts to this type from the input type.
source§impl PartialEq<ContractBytecodeSome> for ContractBytecodeSome
impl PartialEq<ContractBytecodeSome> for ContractBytecodeSome
source§fn eq(&self, other: &ContractBytecodeSome) -> bool
fn eq(&self, other: &ContractBytecodeSome) -> bool
source§impl Serialize for ContractBytecodeSome
impl Serialize for ContractBytecodeSome
source§impl TryFrom<ContractBytecode> for ContractBytecodeSome
impl TryFrom<ContractBytecode> for ContractBytecodeSome
§type Error = ContractBytecode
type Error = ContractBytecode
The type returned in the event of a conversion error.