Enum ethers_core::types::NameOrAddress [−][src]
Expand description
ENS name or Ethereum Address. Not RLP encoded/serialized if it’s a name
Variants
Name(String)
An ENS Name (format does not get checked)
Tuple Fields of Name
0: String
Address(Address)
An Ethereum Address
Tuple Fields of Address
0: Address
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NameOrAddress
impl Send for NameOrAddress
impl Sync for NameOrAddress
impl Unpin for NameOrAddress
impl UnwindSafe for NameOrAddress
Blanket Implementations
Mutably borrows from an owned value. Read more