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 for TestMempoolAcceptResult
impl PartialEq 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 ==
.source§impl Serialize for TestMempoolAcceptResult
impl Serialize for TestMempoolAcceptResult
impl Eq for TestMempoolAcceptResult
impl StructuralPartialEq for TestMempoolAcceptResult
Auto Trait Implementations§
impl Freeze for TestMempoolAcceptResult
impl RefUnwindSafe for TestMempoolAcceptResult
impl Send for TestMempoolAcceptResult
impl Sync for TestMempoolAcceptResult
impl Unpin for TestMempoolAcceptResult
impl UnwindSafe for TestMempoolAcceptResult
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