pub struct EstimateFee {
pub number: usize,
}Expand description
A request for an estimated fee rate needed to confirm a transaction within a target number of blocks.
This corresponds to the "blockchain.estimatefee" Electrum RPC method. It returns the estimated
fee rate (in BTC per kilobyte) required to be included within the specified number of blocks.
See: https://electrum-protocol.readthedocs.io/en/latest/protocol-methods.html#blockchain-estimatefee
Fields§
§number: usizeThe number of blocks to target for confirmation.
Trait Implementations§
Source§impl Clone for EstimateFee
impl Clone for EstimateFee
Source§fn clone(&self) -> EstimateFee
fn clone(&self) -> EstimateFee
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EstimateFee
Source§impl Debug for EstimateFee
impl Debug for EstimateFee
impl Eq for EstimateFee
Source§impl Hash for EstimateFee
impl Hash for EstimateFee
Source§impl PartialEq for EstimateFee
impl PartialEq for EstimateFee
Source§impl Request for EstimateFee
impl Request for EstimateFee
Source§type Response = EstimateFeeResp
type Response = EstimateFeeResp
The expected response type for this request. Read more
Source§fn to_method_and_params(&self) -> MethodAndParams
fn to_method_and_params(&self) -> MethodAndParams
Converts the request into its method name and parameter list. Read more
impl StructuralPartialEq for EstimateFee
Auto Trait Implementations§
impl Freeze for EstimateFee
impl RefUnwindSafe for EstimateFee
impl Send for EstimateFee
impl Sync for EstimateFee
impl Unpin for EstimateFee
impl UnsafeUnpin for EstimateFee
impl UnwindSafe for EstimateFee
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