pub struct ListRequestsOptions {
pub limit: Option<i64>,
pub exclusive_start_id: Option<String>,
pub cursor: Option<String>,
pub filter: Option<Vec<String>>,
}Expand description
Options for RequestQueueClient::list_requests.
Covers the spec query parameters of GET /v2/request-queues/{queueId}/requests.
Fields§
§limit: Option<i64>Maximum number of requests to return.
exclusive_start_id: Option<String>Start listing after this request ID (exclusive).
cursor: Option<String>Opaque pagination cursor returned by a previous call.
filter: Option<Vec<String>>Restrict the returned requests to the given states. The spec defines this as an array of
the enum values "locked" and "pending"; multiple values are sent comma-joined (matching
the JS reference, which serializes filter: Array<'locked' | 'pending'> via join(',')).
Trait Implementations§
Source§impl Clone for ListRequestsOptions
impl Clone for ListRequestsOptions
Source§impl Debug for ListRequestsOptions
impl Debug for ListRequestsOptions
Auto Trait Implementations§
impl Freeze for ListRequestsOptions
impl RefUnwindSafe for ListRequestsOptions
impl Send for ListRequestsOptions
impl Sync for ListRequestsOptions
impl Unpin for ListRequestsOptions
impl UnsafeUnpin for ListRequestsOptions
impl UnwindSafe for ListRequestsOptions
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