pub struct PrepareRecoverFundsRequest {
pub fee_rate_sat_per_vbyte: u64,
pub funding_kind: Option<CpfpFundingKind>,
pub funding_strategy: Option<CpfpFundingStrategy>,
pub destination: String,
pub selection: ExitLeafSelection,
}Expand description
Request for prepare_recover_funds, which returns the recovery quote.
Fields§
§fee_rate_sat_per_vbyte: u64Target fee rate in sat/vByte, applied to every transaction the recovery builds. Below the network’s relay minimum, zero included, nodes do not relay the transactions: they have to reach a miner another way.
funding_kind: Option<CpfpFundingKind>The kind of UTXO that will fund a unilateral exit. Needed when a transaction of a unilateral exit in the quote has a CPFP child.
funding_strategy: Option<CpfpFundingStrategy>How the funding UTXOs pay a unilateral exit’s CPFP children. Unset funds one UTXO per branch.
destination: StringThe Bitcoin address the recovered funds are sent to.
selection: ExitLeafSelectionTrait Implementations§
Source§impl Clone for PrepareRecoverFundsRequest
impl Clone for PrepareRecoverFundsRequest
Source§fn clone(&self) -> PrepareRecoverFundsRequest
fn clone(&self) -> PrepareRecoverFundsRequest
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PrepareRecoverFundsRequest
impl RefUnwindSafe for PrepareRecoverFundsRequest
impl Send for PrepareRecoverFundsRequest
impl Sync for PrepareRecoverFundsRequest
impl Unpin for PrepareRecoverFundsRequest
impl UnsafeUnpin for PrepareRecoverFundsRequest
impl UnwindSafe for PrepareRecoverFundsRequest
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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