Struct sov_rollup_interface::rpc::TxResponse
source · 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<TxResponse<Tx>> for TxResponse<Tx>
impl<Tx: PartialEq> PartialEq<TxResponse<Tx>> for TxResponse<Tx>
source§fn eq(&self, other: &TxResponse<Tx>) -> bool
fn eq(&self, other: &TxResponse<Tx>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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> StructuralEq for TxResponse<Tx>
impl<Tx> StructuralPartialEq for TxResponse<Tx>
Auto Trait Implementations§
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