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
sourceimpl Clone for TestMempoolAcceptResult
impl Clone for TestMempoolAcceptResult
sourcefn clone(&self) -> TestMempoolAcceptResult
fn clone(&self) -> TestMempoolAcceptResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TestMempoolAcceptResult
impl Debug for TestMempoolAcceptResult
sourceimpl<'de> Deserialize<'de> for TestMempoolAcceptResult
impl<'de> Deserialize<'de> for TestMempoolAcceptResult
sourcefn 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
sourceimpl PartialEq<TestMempoolAcceptResult> for TestMempoolAcceptResult
impl PartialEq<TestMempoolAcceptResult> for TestMempoolAcceptResult
sourcefn 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 ==
. Read more
sourceimpl Serialize for TestMempoolAcceptResult
impl Serialize for TestMempoolAcceptResult
impl Eq for TestMempoolAcceptResult
impl StructuralEq for TestMempoolAcceptResult
impl StructuralPartialEq for TestMempoolAcceptResult
Auto Trait Implementations
impl RefUnwindSafe for TestMempoolAcceptResult
impl Send for TestMempoolAcceptResult
impl Sync for TestMempoolAcceptResult
impl Unpin for TestMempoolAcceptResult
impl UnwindSafe for TestMempoolAcceptResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more