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: AbiThe Ethereum Contract ABI. If empty, it is represented as an empty array. See https://docs.soliditylang.org/en/develop/abi-spec.html
bin: BytecodeObjectbin_runtime: BytecodeObjectTrait Implementations
sourceimpl Clone for CompactContractSome
impl Clone for CompactContractSome
sourcefn clone(&self) -> CompactContractSome
fn clone(&self) -> CompactContractSome
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CompactContractSome
impl Debug for CompactContractSome
sourceimpl Default for CompactContractSome
impl Default for CompactContractSome
sourcefn default() -> CompactContractSome
fn default() -> CompactContractSome
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompactContractSome
impl<'de> Deserialize<'de> for CompactContractSome
sourcefn 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
sourceimpl From<CompactContractSome> for CompactContract
impl From<CompactContractSome> for CompactContract
sourcefn from(c: CompactContractSome) -> Self
fn from(c: CompactContractSome) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CompactContractSome> for CompactContractSome
impl PartialEq<CompactContractSome> for CompactContractSome
sourcefn eq(&self, other: &CompactContractSome) -> bool
fn eq(&self, other: &CompactContractSome) -> bool
sourceimpl Serialize for CompactContractSome
impl Serialize for CompactContractSome
sourceimpl 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.
sourcefn try_from(value: CompactContract) -> Result<Self, Self::Error>
fn try_from(value: CompactContract) -> Result<Self, Self::Error>
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more