Struct ethers_contract::multicall_contract::Call3Value
source · pub struct Call3Value {
pub target: Address,
pub allow_failure: bool,
pub value: U256,
pub call_data: Bytes,
}Available on crate feature
abigen only.Expand description
Call3Value(address,bool,uint256,bytes)
Fields§
§target: Address§allow_failure: bool§value: U256§call_data: BytesTrait Implementations§
source§impl AbiDecode for Call3Value
impl AbiDecode for Call3Value
source§impl AbiEncode for Call3Value
impl AbiEncode for Call3Value
source§impl AbiType for Call3Value
impl AbiType for Call3Value
source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
source§fn minimum_size() -> usize
fn minimum_size() -> usize
A hint of the minimum number of bytes this type takes up in the ABI.
source§impl Clone for Call3Value
impl Clone for Call3Value
source§fn clone(&self) -> Call3Value
fn clone(&self) -> Call3Value
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 Call3Value
impl Debug for Call3Value
source§impl Default for Call3Value
impl Default for Call3Value
source§fn default() -> Call3Value
fn default() -> Call3Value
Returns the “default value” for a type. Read more
source§impl Hash for Call3Value
impl Hash for Call3Value
source§impl PartialEq<Call3Value> for Call3Value
impl PartialEq<Call3Value> for Call3Value
source§fn eq(&self, other: &Call3Value) -> bool
fn eq(&self, other: &Call3Value) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Tokenizable for Call3Valuewhere
Address: Tokenize,
bool: Tokenize,
U256: Tokenize,
Bytes: Tokenize,
impl Tokenizable for Call3Valuewhere Address: Tokenize, bool: Tokenize, U256: Tokenize, Bytes: Tokenize,
source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>
fn from_token(token: Token) -> Result<Self, InvalidOutputType>
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 Call3Value
impl Eq for Call3Value
impl StructuralEq for Call3Value
impl StructuralPartialEq for Call3Value
impl TokenizableItem for Call3Valuewhere Address: Tokenize, bool: Tokenize, U256: Tokenize, Bytes: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for Call3Value
impl Send for Call3Value
impl Sync for Call3Value
impl Unpin for Call3Value
impl UnwindSafe for Call3Value
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> 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.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> 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> Tokenize for Twhere
T: Tokenizable,
impl<T> Tokenize for Twhere T: Tokenizable,
source§fn into_tokens(self) -> Vec<Token, Global>
fn into_tokens(self) -> Vec<Token, Global>
Converts
self into a Vec<Token>.