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§fn clone(&self) -> ListRequestsOptions
fn clone(&self) -> ListRequestsOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListRequestsOptions
impl Debug for ListRequestsOptions
Source§impl Default for ListRequestsOptions
impl Default for ListRequestsOptions
Source§fn default() -> ListRequestsOptions
fn default() -> ListRequestsOptions
Returns the “default value” for a type. Read more
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