pub struct FeeRate(/* private fields */);Expand description
Fee rate in dollarydoos per 1,000 HSD policy virtual bytes.
HSD runtime configuration restricts relay and wallet fee rates to unsigned
32-bit values. Keeping that bound in the type makes the multiplication in
minimum_policy_fee exact in u64.
Implementations§
Trait Implementations§
impl Copy for FeeRate
impl Eq for FeeRate
Source§impl Ord for FeeRate
impl Ord for FeeRate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FeeRate
impl PartialOrd for FeeRate
impl StructuralPartialEq for FeeRate
Auto Trait Implementations§
impl Freeze for FeeRate
impl RefUnwindSafe for FeeRate
impl Send for FeeRate
impl Sync for FeeRate
impl Unpin for FeeRate
impl UnsafeUnpin for FeeRate
impl UnwindSafe for FeeRate
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