pub struct GetPaymentByIdRequest {
pub id: PaymentId,
}Expand description
A request to get information about a payment by its id.
Fields§
§id: PaymentIdThe payment’s id, i.e. its PaymentCreatedIndex or
PaymentUpdatedIndex without the timestamp. For a BOLT 11 invoice
payment, this is PaymentId::Lightning of its payment hash; for a
BOLT 12 offer send, PaymentId::OfferSend of its client payment id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetPaymentByIdRequest
impl<'de> Deserialize<'de> for GetPaymentByIdRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetPaymentByIdRequest
impl RefUnwindSafe for GetPaymentByIdRequest
impl Send for GetPaymentByIdRequest
impl Sync for GetPaymentByIdRequest
impl Unpin for GetPaymentByIdRequest
impl UnsafeUnpin for GetPaymentByIdRequest
impl UnwindSafe for GetPaymentByIdRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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