pub struct Response {
pub check_tx: CheckTx,
pub tx_result: ExecTxResult,
pub hash: Hash,
pub height: Height,
}Expand description
Response from /broadcast_tx_commit.
Fields§
§check_tx: CheckTxCheckTx result
tx_result: ExecTxResultResult of executing the transaction.
The JSON field carrying this data is named deliver_tx in
CometBFT versions before 0.38.
hash: HashTransaction
height: HeightHeight
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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 From<DialectResponse> for Response
impl From<DialectResponse> for Response
Source§fn from(msg: DialectResponse) -> Self
fn from(msg: DialectResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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