Struct ethers::solc::artifacts::CompactContractRef [−][src]
pub struct CompactContractRef<'a> {
pub abi: Option<&'a Contract>,
pub bin: Option<&'a Bytes>,
pub bin_runtime: Option<&'a Bytes>,
}
Expand description
Helper type to serialize while borrowing from Contract
Fields
abi: Option<&'a Contract>
bin: Option<&'a Bytes>
bin_runtime: Option<&'a Bytes>
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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