pub struct TxResult {
pub txid: Txid,
pub other_wtxid: Option<Wtxid>,
pub vsize: Option<u32>,
pub fees: Option<MempoolFeesSubmitPackage>,
pub error: Option<String>,
}Fields§
§txid: TxidThe transaction id.
other_wtxid: Option<Wtxid>The Wtxid of a different transaction with the same Txid but different witness found
in the mempool.
If set, this means the submitted transaction was ignored.
vsize: Option<u32>Sigops-adjusted virtual transaction size.
fees: Option<MempoolFeesSubmitPackage>Transaction fees.
error: Option<String>The transaction error string, if it was rejected by the mempool
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 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