Struct ethers_solc::artifacts::CompactContract [−][src]
pub struct CompactContract {
pub abi: Option<Abi>,
pub bin: Option<BytecodeObject>,
pub bin_runtime: Option<BytecodeObject>,
}
Expand description
Minimal representation of a contract’s abi with bytecode
Fields
abi: Option<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: Option<BytecodeObject>
bin_runtime: Option<BytecodeObject>
Implementations
Returns the contents of this type as a single tuple of abi, bytecode and deployed bytecode
Trait Implementations
Returns the “default value” for a type. Read more
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
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CompactContract
impl Send for CompactContract
impl Sync for CompactContract
impl Unpin for CompactContract
impl UnwindSafe for CompactContract
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more