pub struct EvmAddress(pub Address);Tuple Fields§
§0: AddressTrait Implementations§
Source§impl Address for EvmAddress
impl Address for EvmAddress
Source§type Network = EvmNetwork
type Network = EvmNetwork
The network family this address belongs to.
Source§impl Clone for EvmAddress
impl Clone for EvmAddress
Source§fn clone(&self) -> EvmAddress
fn clone(&self) -> EvmAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvmAddress
impl Debug for EvmAddress
Source§impl<'de> Deserialize<'de> for EvmAddress
impl<'de> Deserialize<'de> for EvmAddress
Source§fn deserialize<D>(
deserializer: D,
) -> Result<EvmAddress, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<EvmAddress, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EvmAddress
impl Display for EvmAddress
Source§impl From<Address> for EvmAddress
impl From<Address> for EvmAddress
Source§fn from(addr: Address) -> EvmAddress
fn from(addr: Address) -> EvmAddress
Converts to this type from the input type.
Source§impl FromStr for EvmAddress
impl FromStr for EvmAddress
Source§type Err = AddressError
type Err = AddressError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<EvmAddress, <EvmAddress as FromStr>::Err>
fn from_str(s: &str) -> Result<EvmAddress, <EvmAddress as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for EvmAddress
impl Hash for EvmAddress
Source§impl PartialEq for EvmAddress
impl PartialEq for EvmAddress
Source§impl Serialize for EvmAddress
impl Serialize for EvmAddress
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
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
impl Copy for EvmAddress
impl Eq for EvmAddress
impl StructuralPartialEq for EvmAddress
Auto Trait Implementations§
impl Freeze for EvmAddress
impl RefUnwindSafe for EvmAddress
impl Send for EvmAddress
impl Sync for EvmAddress
impl Unpin for EvmAddress
impl UnsafeUnpin for EvmAddress
impl UnwindSafe for EvmAddress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.