pub struct FeeInfo {
pub fee_rate: FeeRate,
pub total_fee: Amount,
}Expand description
Contains the data required to bump the fee for a given transaction (including ancestors).
Fields§
§fee_rate: FeeRateThe effective fee rate of the transaction (including unconfirmed CPFP ancestors), in
sats per kvB. kvb matches the unit used elsewhere in bark-json
(e.g. offboard_feerate_sat_per_kvb).
total_fee: AmountSum of the transaction’s own fee plus the fee of each of its unconfirmed ancestors.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeInfo
impl<'de> Deserialize<'de> for FeeInfo
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 Copy for FeeInfo
impl Eq for FeeInfo
impl StructuralPartialEq for FeeInfo
Auto Trait Implementations§
impl Freeze for FeeInfo
impl RefUnwindSafe for FeeInfo
impl Send for FeeInfo
impl Sync for FeeInfo
impl Unpin for FeeInfo
impl UnsafeUnpin for FeeInfo
impl UnwindSafe for FeeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request