Expand description
An Ethereum contract reference.
Fields§
§name: &'a str
The name of the contract. This is used by the host for matching with an ABI for call encoding and decoding.
address: &'a Address
The contract address.
Trait Implementations§
source§impl<'a> PartialEq<Contract<'a>> for Contract<'a>
impl<'a> PartialEq<Contract<'a>> for Contract<'a>
impl<'a> Copy for Contract<'a>
impl<'a> Eq for Contract<'a>
impl<'a> StructuralEq for Contract<'a>
impl<'a> StructuralPartialEq for Contract<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Contract<'a>
impl<'a> Send for Contract<'a>
impl<'a> Sync for Contract<'a>
impl<'a> Unpin for Contract<'a>
impl<'a> UnwindSafe for Contract<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.