pub struct PrepareLnUrlPayRequest {
pub data: LnUrlPayRequestData,
pub amount: PayAmount,
pub bip353_address: Option<String>,
pub comment: Option<String>,
pub validate_success_action_url: Option<bool>,
}Expand description
An argument when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
Fields§
§data: LnUrlPayRequestDataThe LnUrlPayRequestData returned by parse
amount: PayAmountThe amount to send
bip353_address: Option<String>A BIP353 address, in case one was used in order to fetch the LNURL Pay request data. Returned by parse.
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.
validate_success_action_url: Option<bool>Validates that, if there is a URL success action, the URL domain matches
the LNURL callback domain. Defaults to true
Trait Implementations§
Source§impl Debug for PrepareLnUrlPayRequest
impl Debug for PrepareLnUrlPayRequest
Auto Trait Implementations§
impl Freeze for PrepareLnUrlPayRequest
impl RefUnwindSafe for PrepareLnUrlPayRequest
impl Send for PrepareLnUrlPayRequest
impl Sync for PrepareLnUrlPayRequest
impl Unpin for PrepareLnUrlPayRequest
impl UnwindSafe for PrepareLnUrlPayRequest
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