pub struct RecoverFundsResponse {Show 13 fields
pub recoverable_value_sats: u64,
pub total_fee_sats: u64,
pub cooperative_fee_sats: u64,
pub cpfp_fee_sats: u64,
pub fanout_fee_sats: u64,
pub refund_fee_sats: u64,
pub sweep_fee_sats: u64,
pub leaves: Vec<RecoverFundsLeaf>,
pub failed: Vec<CooperativeRecoveryFailure>,
pub transactions: Vec<RecoveryTransaction>,
pub funding_inputs: Vec<CpfpInput>,
pub fee_rate_sat_per_vbyte: u64,
pub destination: String,
}Expand description
Result of recover_funds: every signed transaction of the recovery, and its
totals. The totals mean what they do on the quote, for the leaves in
leaves: the ones in failed add nothing to them.
Fields§
§recoverable_value_sats: u64§total_fee_sats: u64§cooperative_fee_sats: u64§cpfp_fee_sats: u64§fanout_fee_sats: u64§refund_fee_sats: u64§sweep_fee_sats: u64§leaves: Vec<RecoverFundsLeaf>§failed: Vec<CooperativeRecoveryFailure>Cooperative leaves whose recovery could not be produced, and why. No transaction depends on them.
transactions: Vec<RecoveryTransaction>Every transaction, cooperative ones included, in broadcast order.
funding_inputs: Vec<CpfpInput>The funding UTXOs this recovery was built from, as you supplied them. Hand them back when you build it again and they are followed to whatever they have since become.
fee_rate_sat_per_vbyte: u64§destination: StringTrait Implementations§
Source§impl Clone for RecoverFundsResponse
impl Clone for RecoverFundsResponse
Source§fn clone(&self) -> RecoverFundsResponse
fn clone(&self) -> RecoverFundsResponse
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 moreSource§impl Debug for RecoverFundsResponse
impl Debug for RecoverFundsResponse
Source§impl<'de> Deserialize<'de> for RecoverFundsResponse
impl<'de> Deserialize<'de> for RecoverFundsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecoverFundsResponse
impl RefUnwindSafe for RecoverFundsResponse
impl Send for RecoverFundsResponse
impl Sync for RecoverFundsResponse
impl Unpin for RecoverFundsResponse
impl UnsafeUnpin for RecoverFundsResponse
impl UnwindSafe for RecoverFundsResponse
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