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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CompactContractSome) -> bool
fn ne(&self, other: &CompactContractSome) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more