Struct bdk::FeeRate [−][src]
pub struct FeeRate(_);
Expand description
Fee rate
Implementations
Create a new instance of FeeRate
given a float fee rate in btc/kvbytes
Create a new instance of FeeRate
given a float fee rate in satoshi/vbyte
Create a new FeeRate
with the default min relay fee value
Calculate fee rate from fee
and weight units (wu
).
Calculate absolute fee in Satoshis using size in weight units.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FeeRate
impl UnwindSafe for FeeRate
Blanket Implementations
Mutably borrows from an owned value. Read more