pub struct GetUpdatedPaymentsRequest {
pub start_index: Option<PaymentUpdatedIndex>,
pub limit: Option<u16>,
}Expand description
Get a batch of payments in ascending updated_at order, starting from
a given updated_at index.
Useful for tailing / syncing payment updates as they occur and merging them into a local payments store.
Fields§
§start_index: Option<PaymentUpdatedIndex>The cursor at which the results should start, exclusive.
Payments that were last updated earlier than or equal to this will not be returned.
If None, the least recently updated payments will be returned first.
limit: Option<u16>The maximum number of payments that can be returned.
Maximum value: 100. Defaults to 50 if not set.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetUpdatedPaymentsRequest
impl<'de> Deserialize<'de> for GetUpdatedPaymentsRequest
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 GetUpdatedPaymentsRequest
impl RefUnwindSafe for GetUpdatedPaymentsRequest
impl Send for GetUpdatedPaymentsRequest
impl Sync for GetUpdatedPaymentsRequest
impl Unpin for GetUpdatedPaymentsRequest
impl UnwindSafe for GetUpdatedPaymentsRequest
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