pub struct TestMempoolAcceptResult {
pub txid: Txid,
pub allowed: bool,
pub reject_reason: Option<String>,
pub vsize: Option<u64>,
pub fees: Option<TestMempoolAcceptResultFees>,
}
Fields§
§txid: Txid
§allowed: bool
§reject_reason: Option<String>
§vsize: Option<u64>
Virtual transaction size as defined in BIP 141 (only present when ‘allowed’ is true) Added in Bitcoin Core v0.21
fees: Option<TestMempoolAcceptResultFees>
Transaction fees (only present if ‘allowed’ is true) Added in Bitcoin Core v0.21
Trait Implementations§
source§impl Clone for TestMempoolAcceptResult
impl Clone for TestMempoolAcceptResult
source§fn clone(&self) -> TestMempoolAcceptResult
fn clone(&self) -> TestMempoolAcceptResult
Returns a copy 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 TestMempoolAcceptResult
impl Debug for TestMempoolAcceptResult
source§impl<'de> Deserialize<'de> for TestMempoolAcceptResult
impl<'de> Deserialize<'de> for TestMempoolAcceptResult
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 PartialEq<TestMempoolAcceptResult> for TestMempoolAcceptResult
impl PartialEq<TestMempoolAcceptResult> for TestMempoolAcceptResult
source§fn eq(&self, other: &TestMempoolAcceptResult) -> bool
fn eq(&self, other: &TestMempoolAcceptResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.