pub struct GetEthBalanceReturn {
pub balance: U256,
}Available on crate feature
abigen only.Expand description
Container type for all return fields from the getEthBalance function with signature getEthBalance(address) and selector 0x4d2301cc
Fields§
§balance: U256Trait Implementations§
source§impl AbiDecode for GetEthBalanceReturn
impl AbiDecode for GetEthBalanceReturn
source§impl AbiEncode for GetEthBalanceReturn
impl AbiEncode for GetEthBalanceReturn
source§impl AbiType for GetEthBalanceReturn
impl AbiType for GetEthBalanceReturn
source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
source§impl Clone for GetEthBalanceReturn
impl Clone for GetEthBalanceReturn
source§fn clone(&self) -> GetEthBalanceReturn
fn clone(&self) -> GetEthBalanceReturn
Returns a copy 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 GetEthBalanceReturn
impl Debug for GetEthBalanceReturn
source§impl Default for GetEthBalanceReturn
impl Default for GetEthBalanceReturn
source§fn default() -> GetEthBalanceReturn
fn default() -> GetEthBalanceReturn
Returns the “default value” for a type. Read more
source§impl Hash for GetEthBalanceReturn
impl Hash for GetEthBalanceReturn
source§impl PartialEq<GetEthBalanceReturn> for GetEthBalanceReturn
impl PartialEq<GetEthBalanceReturn> for GetEthBalanceReturn
source§fn eq(&self, other: &GetEthBalanceReturn) -> bool
fn eq(&self, other: &GetEthBalanceReturn) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Tokenizable for GetEthBalanceReturnwhere
U256: Tokenize,
impl Tokenizable for GetEthBalanceReturnwhere U256: Tokenize,
source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>where
Self: Sized,
fn from_token(token: Token) -> Result<Self, InvalidOutputType>where Self: Sized,
Converts a
Token into expected type.source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
impl AbiArrayType for GetEthBalanceReturn
impl Eq for GetEthBalanceReturn
impl StructuralEq for GetEthBalanceReturn
impl StructuralPartialEq for GetEthBalanceReturn
impl TokenizableItem for GetEthBalanceReturnwhere U256: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for GetEthBalanceReturn
impl Send for GetEthBalanceReturn
impl Sync for GetEthBalanceReturn
impl Unpin for GetEthBalanceReturn
impl UnwindSafe for GetEthBalanceReturn
Blanket Implementations§
source§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere T: Tokenizable,
source§fn from_tokens(tokens: Vec<Token, Global>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token, Global>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
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.