pub struct WaitForNextPaymentResponse {
pub payment: Payment,
pub next_start_index: PaymentUpdatedIndex,
}Expand description
A response to a WaitForNextPaymentRequest.
Fields§
§payment: PaymentThe newly updated or created payment.
next_start_index: PaymentUpdatedIndexThe updated_at index of the returned payment.
Pass this as start_index in the next request to get the next payment
update.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WaitForNextPaymentResponse
impl<'de> Deserialize<'de> for WaitForNextPaymentResponse
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 WaitForNextPaymentResponse
impl RefUnwindSafe for WaitForNextPaymentResponse
impl Send for WaitForNextPaymentResponse
impl Sync for WaitForNextPaymentResponse
impl Unpin for WaitForNextPaymentResponse
impl UnwindSafe for WaitForNextPaymentResponse
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