pub struct FundRawTransactionOptions {
pub add_inputs: Option<bool>,
pub change_address: Option<Address>,
pub change_position: Option<u32>,
pub change_type: Option<AddressType>,
pub include_watching: Option<bool>,
pub lock_unspents: Option<bool>,
pub fee_rate: Option<Amount>,
pub subtract_fee_from_outputs: Option<Vec<u32>>,
pub replaceable: Option<bool>,
pub conf_target: Option<u32>,
pub estimate_mode: Option<EstimateMode>,
}
Fields§
§add_inputs: Option<bool>
For a transaction with existing inputs, automatically include more if they are not enough (default true). Added in Bitcoin Core v0.21
change_address: Option<Address>
§change_position: Option<u32>
§change_type: Option<AddressType>
§include_watching: Option<bool>
§lock_unspents: Option<bool>
§fee_rate: Option<Amount>
The fee rate to pay per kvB. NB. This field is converted to camelCase
when serialized, so it is receeived by fundrawtransaction as feeRate
,
which fee rate per kvB, and not fee_rate
, which is per vB.
subtract_fee_from_outputs: Option<Vec<u32>>
§replaceable: Option<bool>
§conf_target: Option<u32>
§estimate_mode: Option<EstimateMode>
Trait Implementations§
source§impl Clone for FundRawTransactionOptions
impl Clone for FundRawTransactionOptions
source§fn clone(&self) -> FundRawTransactionOptions
fn clone(&self) -> FundRawTransactionOptions
Returns a copy 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 FundRawTransactionOptions
impl Debug for FundRawTransactionOptions
source§impl Default for FundRawTransactionOptions
impl Default for FundRawTransactionOptions
source§fn default() -> FundRawTransactionOptions
fn default() -> FundRawTransactionOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for FundRawTransactionOptions
impl PartialEq for FundRawTransactionOptions
source§fn eq(&self, other: &FundRawTransactionOptions) -> bool
fn eq(&self, other: &FundRawTransactionOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FundRawTransactionOptions
impl StructuralPartialEq for FundRawTransactionOptions
Auto Trait Implementations§
impl Freeze for FundRawTransactionOptions
impl RefUnwindSafe for FundRawTransactionOptions
impl Send for FundRawTransactionOptions
impl Sync for FundRawTransactionOptions
impl Unpin for FundRawTransactionOptions
impl UnwindSafe for FundRawTransactionOptions
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