Struct ethers_solc::artifacts::CompactContractRef [−][src]
pub struct CompactContractRef<'a> {
pub abi: Option<&'a Abi>,
pub bin: Option<&'a BytecodeObject>,
pub bin_runtime: Option<&'a BytecodeObject>,
}
Expand description
Helper type to serialize while borrowing from Contract
Fields
abi: Option<&'a Abi>
bin: Option<&'a BytecodeObject>
bin_runtime: Option<&'a BytecodeObject>
Implementations
Clones the referenced values and returns as tuples
Returns the individual parts of this contract.
If the values are None
, then Default
is returned.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CompactContractRef<'a>
impl<'a> Send for CompactContractRef<'a>
impl<'a> Sync for CompactContractRef<'a>
impl<'a> Unpin for CompactContractRef<'a>
impl<'a> UnwindSafe for CompactContractRef<'a>
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