pub struct TxResponse<Tx> {
pub hash: [u8; 32],
pub event_range: Range<u64>,
pub body: Option<Vec<u8>>,
pub custom_receipt: Tx,
}
Expand description
The response to a JSON-RPC request for a particular transaction.
Fields§
§hash: [u8; 32]
The hex encoded transaction hash.
event_range: Range<u64>
The range of events occurring in this transaction.
body: Option<Vec<u8>>
The transaction body, if stored by the rollup.
custom_receipt: Tx
The custom receipt specified by the rollup. This typically contains information about the outcome of the transaction.
Trait Implementations§
Source§impl<Tx: Clone> Clone for TxResponse<Tx>
impl<Tx: Clone> Clone for TxResponse<Tx>
Source§fn clone(&self) -> TxResponse<Tx>
fn clone(&self) -> TxResponse<Tx>
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<Tx: Debug> Debug for TxResponse<Tx>
impl<Tx: Debug> Debug for TxResponse<Tx>
Source§impl<'de, Tx> Deserialize<'de> for TxResponse<Tx>where
Tx: Deserialize<'de>,
impl<'de, Tx> Deserialize<'de> for TxResponse<Tx>where
Tx: Deserialize<'de>,
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<Tx: PartialEq> PartialEq for TxResponse<Tx>
impl<Tx: PartialEq> PartialEq for TxResponse<Tx>
Source§impl<Tx> Serialize for TxResponse<Tx>where
Tx: Serialize,
impl<Tx> Serialize for TxResponse<Tx>where
Tx: Serialize,
impl<Tx: Eq> Eq for TxResponse<Tx>
impl<Tx> StructuralPartialEq for TxResponse<Tx>
Auto Trait Implementations§
impl<Tx> Freeze for TxResponse<Tx>where
Tx: Freeze,
impl<Tx> RefUnwindSafe for TxResponse<Tx>where
Tx: RefUnwindSafe,
impl<Tx> Send for TxResponse<Tx>where
Tx: Send,
impl<Tx> Sync for TxResponse<Tx>where
Tx: Sync,
impl<Tx> Unpin for TxResponse<Tx>where
Tx: Unpin,
impl<Tx> UnwindSafe for TxResponse<Tx>where
Tx: UnwindSafe,
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