pub struct PrepareSendResponse {
pub destination: SendDestination,
pub fees_sat: Option<u64>,
pub estimated_asset_fees: Option<f64>,
}
Expand description
Returned when calling crate::sdk::LiquidSdk::prepare_send_payment.
Fields§
§destination: SendDestination
§fees_sat: Option<u64>
The optional estimated fee in satoshi. Is set when there is Bitcoin available to pay fees. When not set, there are asset fees available to pay fees.
estimated_asset_fees: Option<f64>
The optional estimated fee in the asset. Is set when PayAmount::Asset::estimate_asset_fees
is set to true
, the Payjoin service accepts this asset to pay fees and there
are funds available in this asset to pay fees.
Trait Implementations§
Source§impl Clone for PrepareSendResponse
impl Clone for PrepareSendResponse
Source§fn clone(&self) -> PrepareSendResponse
fn clone(&self) -> PrepareSendResponse
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 PrepareSendResponse
impl Debug for PrepareSendResponse
Source§impl IntoDart for PrepareSendResponse
impl IntoDart for PrepareSendResponse
Source§impl IntoIntoDart<PrepareSendResponse> for PrepareSendResponse
impl IntoIntoDart<PrepareSendResponse> for PrepareSendResponse
fn into_into_dart(self) -> PrepareSendResponse
Source§impl Serialize for PrepareSendResponse
impl Serialize for PrepareSendResponse
impl IntoDartExceptPrimitive for PrepareSendResponse
Auto Trait Implementations§
impl Freeze for PrepareSendResponse
impl Send for PrepareSendResponse
impl Sync for PrepareSendResponse
impl RefUnwindSafe for PrepareSendResponse
impl Unpin for PrepareSendResponse
impl UnwindSafe for PrepareSendResponse
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> ⓘ
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