pub struct PrepareLnUrlPayResponse {
pub destination: SendDestination,
pub fees_sat: u64,
pub data: LnUrlPayRequestData,
pub amount: PayAmount,
pub comment: Option<String>,
pub success_action: Option<SuccessAction>,
}Expand description
Returned when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
Fields§
§destination: SendDestinationThe destination of the payment
fees_sat: u64The fees in satoshis to send the payment
data: LnUrlPayRequestDataThe LnUrlPayRequestData returned by parse
amount: PayAmountThe amount to send
comment: Option<String>An optional comment LUD-12 to be stored with the payment. The comment is included in the invoice request sent to the LNURL endpoint.
success_action: Option<SuccessAction>The unprocessed LUD-09 success action. This will be processed and decrypted if needed after calling crate::sdk::LiquidSdk::lnurl_pay
Trait Implementations§
Source§impl Debug for PrepareLnUrlPayResponse
impl Debug for PrepareLnUrlPayResponse
Auto Trait Implementations§
impl Freeze for PrepareLnUrlPayResponse
impl RefUnwindSafe for PrepareLnUrlPayResponse
impl Send for PrepareLnUrlPayResponse
impl Sync for PrepareLnUrlPayResponse
impl Unpin for PrepareLnUrlPayResponse
impl UnwindSafe for PrepareLnUrlPayResponse
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
§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