Struct ethers_solc::artifacts::contract::CompactContractSome
source · pub struct CompactContractSome {
pub abi: Contract,
pub bin: BytecodeObject,
pub bin_runtime: BytecodeObject,
}
Expand description
Minimal representation of a contract’s artifact with a present abi and bytecode.
Fields§
§abi: Contract
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 for CompactContractSome
impl PartialEq for CompactContractSome
source§fn eq(&self, other: &CompactContractSome) -> bool
fn eq(&self, other: &CompactContractSome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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.
impl StructuralPartialEq for CompactContractSome
Auto Trait Implementations§
impl RefUnwindSafe for CompactContractSome
impl Send for CompactContractSome
impl Sync for CompactContractSome
impl Unpin for CompactContractSome
impl UnwindSafe for CompactContractSome
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