pub struct SubmitPackageTxResultFees {
pub base_fee: f64,
pub effective_fee_rate: Option<f64>,
pub effective_includes: Option<Vec<String>>,
}Expand description
The fees included in the per-transaction result. Part of submitpackage.
Fields§
§base_fee: f64Transaction fee.
effective_fee_rate: Option<f64>The effective feerate.
Will be None if the transaction was already in the mempool. For example, the package
feerate and/or feerate with modified fees from the prioritisetransaction JSON-RPC method.
effective_includes: Option<Vec<String>>If Self::effective_fee_rate is provided, this holds the wtxid’s of the transactions
whose fees and vsizes are included in effective-feerate.
Implementations§
Source§impl SubmitPackageTxResultFees
impl SubmitPackageTxResultFees
Sourcepub fn into_model(
self,
) -> Result<SubmitPackageTxResultFees, SubmitPackageTxResultFeesError>
pub fn into_model( self, ) -> Result<SubmitPackageTxResultFees, SubmitPackageTxResultFeesError>
Converts version specific type to a version in-specific, more strongly typed type.
Trait Implementations§
Source§impl Clone for SubmitPackageTxResultFees
impl Clone for SubmitPackageTxResultFees
Source§fn clone(&self) -> SubmitPackageTxResultFees
fn clone(&self) -> SubmitPackageTxResultFees
Returns a duplicate 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 SubmitPackageTxResultFees
impl Debug for SubmitPackageTxResultFees
Source§impl<'de> Deserialize<'de> for SubmitPackageTxResultFees
impl<'de> Deserialize<'de> for SubmitPackageTxResultFees
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubmitPackageTxResultFees, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubmitPackageTxResultFees, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubmitPackageTxResultFees
impl Serialize for SubmitPackageTxResultFees
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SubmitPackageTxResultFees
Auto Trait Implementations§
impl Freeze for SubmitPackageTxResultFees
impl RefUnwindSafe for SubmitPackageTxResultFees
impl Send for SubmitPackageTxResultFees
impl Sync for SubmitPackageTxResultFees
impl Unpin for SubmitPackageTxResultFees
impl UnsafeUnpin for SubmitPackageTxResultFees
impl UnwindSafe for SubmitPackageTxResultFees
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