pub struct PrepareLnUrlPayRequest {
pub data: LnUrlPayRequestData,
pub amount_msat: u64,
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 crate::input_parser::parse
amount_msat: u64
The amount in millisatoshis for this payment
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