pub struct PaymentExternalInfo {
pub lnurl_pay_success_action: Option<SuccessActionProcessed>,
pub lnurl_pay_domain: Option<String>,
pub lnurl_pay_comment: Option<String>,
pub lnurl_metadata: Option<String>,
pub ln_address: Option<String>,
pub lnurl_withdraw_endpoint: Option<String>,
pub attempted_amount_msat: Option<u64>,
pub attempted_error: Option<String>,
}
Expand description
Represents a payments external information.
Fields§
§lnurl_pay_success_action: Option<SuccessActionProcessed>
§lnurl_pay_domain: Option<String>
§lnurl_pay_comment: Option<String>
§lnurl_metadata: Option<String>
§ln_address: Option<String>
§lnurl_withdraw_endpoint: Option<String>
§attempted_amount_msat: Option<u64>
§attempted_error: Option<String>
Trait Implementations§
Source§impl Default for PaymentExternalInfo
impl Default for PaymentExternalInfo
Source§fn default() -> PaymentExternalInfo
fn default() -> PaymentExternalInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PaymentExternalInfo
impl RefUnwindSafe for PaymentExternalInfo
impl Send for PaymentExternalInfo
impl Sync for PaymentExternalInfo
impl Unpin for PaymentExternalInfo
impl UnwindSafe for PaymentExternalInfo
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> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any
.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any
.§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