pub struct SendTxResponse {
pub transaction_hash: CryptoHash,
pub final_execution_status: TxExecutionStatus,
pub outcome: Option<FinalExecutionOutcome>,
}Expand description
Response from send_tx RPC.
When wait_until=NONE, the outcome is absent and only final_execution_status
is populated. For all other wait levels the outcome is present.
The transaction_hash is always available regardless of wait level,
populated from the signed transaction before sending.
Fields§
§transaction_hash: CryptoHashHash of the submitted transaction. Always present.
final_execution_status: TxExecutionStatusThe wait level that was reached (e.g. NONE, EXECUTED_OPTIMISTIC, FINAL).
outcome: Option<FinalExecutionOutcome>The execution outcome, present when the transaction has been executed.
Trait Implementations§
Source§impl Clone for SendTxResponse
impl Clone for SendTxResponse
Source§fn clone(&self) -> SendTxResponse
fn clone(&self) -> SendTxResponse
Returns a duplicate 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 Debug for SendTxResponse
impl Debug for SendTxResponse
Source§impl<'de> Deserialize<'de> for SendTxResponse
impl<'de> Deserialize<'de> for SendTxResponse
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
Auto Trait Implementations§
impl Freeze for SendTxResponse
impl RefUnwindSafe for SendTxResponse
impl Send for SendTxResponse
impl Sync for SendTxResponse
impl Unpin for SendTxResponse
impl UnsafeUnpin for SendTxResponse
impl UnwindSafe for SendTxResponse
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