pub struct Multicall3Call {
pub target: [u8; 20],
pub allow_failure: bool,
pub call_data: Vec<u8>,
}Expand description
A single call in a Multicall3 batch.
Fields§
§target: [u8; 20]Target contract address.
allow_failure: boolWhether this call is allowed to fail without reverting the batch.
call_data: Vec<u8>Encoded calldata for this call.
Trait Implementations§
Source§impl Clone for Multicall3Call
impl Clone for Multicall3Call
Source§fn clone(&self) -> Multicall3Call
fn clone(&self) -> Multicall3Call
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 moreAuto Trait Implementations§
impl Freeze for Multicall3Call
impl RefUnwindSafe for Multicall3Call
impl Send for Multicall3Call
impl Sync for Multicall3Call
impl Unpin for Multicall3Call
impl UnsafeUnpin for Multicall3Call
impl UnwindSafe for Multicall3Call
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