pub struct SubmitPackageTxResultFees {
pub base_fee: f64,
pub effective_fee_rate: Option<f64>,
pub effective_includes: Option<Vec<String>>,
}
Expand description
Models the fees included in the per-transaction result of the JSON-RPC method submitpackage
.
Fields§
§base_fee: f64
Transaction 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.
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<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
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 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