Struct ethers_contract::multicall_contract::AggregateCall
source · pub struct AggregateCall {
pub calls: Vec<Call>,
}
Available on crate feature
abigen
only.Expand description
Container type for all input parameters for the aggregate
function with signature aggregate((address,bytes)[])
and selector 0x252dba42
Fields§
§calls: Vec<Call>
Trait Implementations§
source§impl AbiDecode for AggregateCall
impl AbiDecode for AggregateCall
source§impl AbiEncode for AggregateCall
impl AbiEncode for AggregateCall
source§impl AbiType for AggregateCall
impl AbiType for AggregateCall
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 AggregateCall
impl Clone for AggregateCall
source§fn clone(&self) -> AggregateCall
fn clone(&self) -> AggregateCall
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 AggregateCall
impl Debug for AggregateCall
source§impl Default for AggregateCall
impl Default for AggregateCall
source§fn default() -> AggregateCall
fn default() -> AggregateCall
Returns the “default value” for a type. Read more
source§impl Display for AggregateCall
impl Display for AggregateCall
source§impl EthCall for AggregateCall
impl EthCall for AggregateCall
source§impl From<AggregateCall> for Multicall3Calls
impl From<AggregateCall> for Multicall3Calls
source§fn from(value: AggregateCall) -> Self
fn from(value: AggregateCall) -> Self
Converts to this type from the input type.
source§impl Hash for AggregateCall
impl Hash for AggregateCall
source§impl PartialEq for AggregateCall
impl PartialEq for AggregateCall
source§fn eq(&self, other: &AggregateCall) -> bool
fn eq(&self, other: &AggregateCall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Tokenizable for AggregateCall
impl Tokenizable for AggregateCall
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 AggregateCall
impl Eq for AggregateCall
impl StructuralPartialEq for AggregateCall
impl TokenizableItem for AggregateCall
Auto Trait Implementations§
impl RefUnwindSafe for AggregateCall
impl Send for AggregateCall
impl Sync for AggregateCall
impl Unpin for AggregateCall
impl UnwindSafe for AggregateCall
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>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
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> 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>
fn into_tokens(self) -> Vec<Token>
Converts
self
into a Vec<Token>
.