pub struct ClaimDepositRequest {
pub txid: String,
pub vout: u32,
pub max_fee: Option<MaxFee>,
}Fields§
§txid: String§vout: u32§max_fee: Option<MaxFee>Caps what the claim may cost, and is recorded on the deposit so later automatic attempts are held to it too.
Raising it above the quoted spread is what lets a deposit be claimed ahead of maturity without further input. Lowering it below the spread keeps the deposit from being claimed early, and does not hold back its claim at maturity: that one runs under whichever is larger, this or the configured max deposit claim fee.
Unset claims under the configured max deposit claim fee and clears any ceiling previously recorded on the deposit.
The ceiling is recorded before the claim is attempted, so it stands even when the attempt is then declined for exceeding it.
Auto Trait Implementations§
impl Freeze for ClaimDepositRequest
impl RefUnwindSafe for ClaimDepositRequest
impl Send for ClaimDepositRequest
impl Sync for ClaimDepositRequest
impl Unpin for ClaimDepositRequest
impl UnsafeUnpin for ClaimDepositRequest
impl UnwindSafe for ClaimDepositRequest
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
§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