pub struct TxResult {
pub txid: Txid,
pub other_wtxid: Option<Wtxid>,
pub vsize: Option<u32>,
pub fees: Option<MempoolFeesSubmitPackage>,
pub error: Option<String>,
}Expand description
A per-transaction result of a Transaction package submission.
Fields§
§txid: TxidThe Transaction’s Txid.
other_wtxid: Option<Wtxid>The Wtxid of a different Transaction with the same Txid,
but different Witness found in the mempool.
If Some, means the submitted Transaction was ignored.
vsize: Option<u32>sigops-adjusted transaction size, in virtual bytes.
fees: Option<MempoolFeesSubmitPackage>The effective fee paid by the Transaction.
error: Option<String>The Transaction submission error string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxResult
impl<'de> Deserialize<'de> for TxResult
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 TxResult
impl RefUnwindSafe for TxResult
impl Send for TxResult
impl Sync for TxResult
impl Unpin for TxResult
impl UnsafeUnpin for TxResult
impl UnwindSafe for TxResult
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