pub struct CheckTx<Ev> {
pub code: Code,
pub data: Bytes,
pub log: String,
pub info: String,
pub gas_wanted: i64,
pub gas_used: i64,
pub events: Vec<Ev>,
pub codespace: String,
pub sender: String,
pub priority: i64,
pub mempool_error: String,
}Fields§
§code: CodeThe response code.
Transactions where code != 0 will be rejected; these transactions will
not be broadcast to other nodes or included in a proposal block.
CometBFT attributes no other value to the response code.
data: BytesResult bytes, if any.
log: StringThe output of the application’s logger.
May be non-deterministic.
info: StringAdditional information.
May be non-deterministic.
gas_wanted: i64Amount of gas requested for the transaction.
gas_used: i64Amount of gas consumed by the transaction.
events: Vec<Ev>Events that occurred while checking the transaction.
codespace: StringThe namespace for the code.
sender: StringThe transaction’s sender (e.g. the signer).
priority: i64The transaction’s priority (for mempool ordering).
mempool_error: Stringmempool_error is set by CometBFT. ABCI applictions should not set mempool_error.
Trait Implementations§
Source§impl<'de, Ev> Deserialize<'de> for CheckTx<Ev>
impl<'de, Ev> Deserialize<'de> for CheckTx<Ev>
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
impl<Ev: Eq> Eq for CheckTx<Ev>
impl<Ev> StructuralPartialEq for CheckTx<Ev>
Auto Trait Implementations§
impl<Ev> !Freeze for CheckTx<Ev>
impl<Ev> RefUnwindSafe for CheckTx<Ev>where
Ev: RefUnwindSafe,
impl<Ev> Send for CheckTx<Ev>where
Ev: Send,
impl<Ev> Sync for CheckTx<Ev>where
Ev: Sync,
impl<Ev> Unpin for CheckTx<Ev>where
Ev: Unpin,
impl<Ev> UnwindSafe for CheckTx<Ev>where
Ev: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.