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
)