pub struct GetUpdatedPaymentsRequest {
pub start_index: Option<PaymentUpdatedIndex>,
pub limit: Option<usize>,
}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, starts from the oldest-updated payment, inclusive.
limit: Option<usize>The maximum number of payments that can be returned.
The maximum value:
- with persistence enabled:
usize::MAX - with persistence disabled: 100
If None, defaults to the highest limit.
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