pub struct FetchLightningSendStatusResponse {
pub status: Option<PaymentStatus>,
pub preimage: Option<String>,
}Fields§
§status: Option<PaymentStatus>The status of this wallet’s Lightning payments of the invoice: completed if one completed, pending if one is in flight, failed if every one was returned. Unset when there is none. A payment made by a direct Spark transfer to the invoice’s Spark address is not found, so unset does not mean the invoice is unpaid.
preimage: Option<String>The hex-encoded preimage that proves the payment, set when the status is completed
Trait Implementations§
Source§impl Clone for FetchLightningSendStatusResponse
impl Clone for FetchLightningSendStatusResponse
Source§fn clone(&self) -> FetchLightningSendStatusResponse
fn clone(&self) -> FetchLightningSendStatusResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for FetchLightningSendStatusResponse
impl PartialEq for FetchLightningSendStatusResponse
Source§fn eq(&self, other: &FetchLightningSendStatusResponse) -> bool
fn eq(&self, other: &FetchLightningSendStatusResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FetchLightningSendStatusResponse
Auto Trait Implementations§
impl Freeze for FetchLightningSendStatusResponse
impl RefUnwindSafe for FetchLightningSendStatusResponse
impl Send for FetchLightningSendStatusResponse
impl Sync for FetchLightningSendStatusResponse
impl Unpin for FetchLightningSendStatusResponse
impl UnsafeUnpin for FetchLightningSendStatusResponse
impl UnwindSafe for FetchLightningSendStatusResponse
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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