pub enum BundleItem {
Hash {
hash: TxHash,
},
Tx {
tx: Bytes,
can_revert: bool,
},
Bundle {
bundle: SendBundleRequest,
},
}
Expand description
A bundle tx, which can either be a transaction hash, or a full tx.
Variants§
Hash
The hash of either a transaction or bundle we are trying to backrun.
Tx
A new signed transaction.
Fields
Bundle
A nested bundle request.
Fields
§
bundle: SendBundleRequest
A bundle request of type SendBundleRequest
Trait Implementations§
Source§impl Clone for BundleItem
impl Clone for BundleItem
Source§fn clone(&self) -> BundleItem
fn clone(&self) -> BundleItem
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 BundleItem
impl Debug for BundleItem
Source§impl<'de> Deserialize<'de> for BundleItem
impl<'de> Deserialize<'de> for BundleItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BundleItem
impl PartialEq for BundleItem
Source§impl Serialize for BundleItem
impl Serialize for BundleItem
impl Eq for BundleItem
impl StructuralPartialEq for BundleItem
Auto Trait Implementations§
impl !Freeze for BundleItem
impl RefUnwindSafe for BundleItem
impl Send for BundleItem
impl Sync for BundleItem
impl Unpin for BundleItem
impl UnwindSafe for BundleItem
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)