Struct tendermint::abci::response::DeliverTx
source · pub struct DeliverTx {
pub code: Code,
pub data: Bytes,
pub log: String,
pub info: String,
pub gas_wanted: i64,
pub gas_used: i64,
pub events: Vec<Event>,
pub codespace: String,
}
Expand description
Returns events that occurred while executing a transaction against the application state.
Fields§
§code: Code
The response code.
This code should be 0
only if the transaction is fully valid. However,
invalid transactions included in a block will still be executed against
the application state.
data: Bytes
Result bytes, if any.
log: String
The output of the application’s logger.
May be non-deterministic.
info: String
Additional information.
May be non-deterministic.
gas_wanted: i64
Amount of gas requested for the transaction.
gas_used: i64
Amount of gas consumed by the transaction.
events: Vec<Event>
Events that occurred while executing the transaction.
codespace: String
The namespace for the code
.
Trait Implementations§
source§impl From<DeliverTx> for ResponseDeliverTx
impl From<DeliverTx> for ResponseDeliverTx
source§impl From<DeliverTx> for ResponseDeliverTx
impl From<DeliverTx> for ResponseDeliverTx
source§impl PartialEq for DeliverTx
impl PartialEq for DeliverTx
source§impl Protobuf<ResponseDeliverTx> for DeliverTx
impl Protobuf<ResponseDeliverTx> for DeliverTx
source§fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode into a buffer in Protobuf format. Read more
source§fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode with a length-delimiter to a buffer in Protobuf format. Read more
source§fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode an instance from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode a length-delimited instance from
the buffer. Read more
source§fn encoded_len(self) -> usize
fn encoded_len(self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
source§fn decode_vec(v: &[u8]) -> Result<Self, Error>
fn decode_vec(v: &[u8]) -> Result<Self, Error>
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent).source§impl Protobuf<ResponseDeliverTx> for DeliverTx
impl Protobuf<ResponseDeliverTx> for DeliverTx
source§fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode into a buffer in Protobuf format. Read more
source§fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
Encode with a length-delimiter to a buffer in Protobuf format. Read more
source§fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode an instance from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Constructor that attempts to decode a length-delimited instance from
the buffer. Read more
source§fn encoded_len(self) -> usize
fn encoded_len(self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
source§fn decode_vec(v: &[u8]) -> Result<Self, Error>
fn decode_vec(v: &[u8]) -> Result<Self, Error>
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent).source§impl TryFrom<ResponseDeliverTx> for DeliverTx
impl TryFrom<ResponseDeliverTx> for DeliverTx
source§impl TryFrom<ResponseDeliverTx> for DeliverTx
impl TryFrom<ResponseDeliverTx> for DeliverTx
impl Eq for DeliverTx
impl StructuralPartialEq for DeliverTx
Auto Trait Implementations§
impl !Freeze for DeliverTx
impl RefUnwindSafe for DeliverTx
impl Send for DeliverTx
impl Sync for DeliverTx
impl Unpin for DeliverTx
impl UnwindSafe for DeliverTx
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