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: LnUrlPayRequestData
The LnUrlPayRequestData returned by parse
amount: PayAmount
The 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 for this payment
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
Source§impl IntoDart for PrepareLnUrlPayRequest
impl IntoDart for PrepareLnUrlPayRequest
Source§impl IntoIntoDart<PrepareLnUrlPayRequest> for PrepareLnUrlPayRequest
impl IntoIntoDart<PrepareLnUrlPayRequest> for PrepareLnUrlPayRequest
fn into_into_dart(self) -> PrepareLnUrlPayRequest
Source§impl Serialize for PrepareLnUrlPayRequest
impl Serialize for PrepareLnUrlPayRequest
impl IntoDartExceptPrimitive 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<'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> 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
Source§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