pub struct SearchOrdersRequest {
pub location_ids: Option<Vec<String>>,
pub cursor: Option<String>,
pub query: Option<SearchOrdersQuery>,
pub limit: Option<i32>,
pub return_entries: bool,
}
Expand description
This is a model struct for SearchOrdersRequest type.
Fields§
§location_ids: Option<Vec<String>>
§cursor: Option<String>
A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for your original query. For more information, see Pagination.
query: Option<SearchOrdersQuery>
Query conditions used to filter or sort the results. Note that when retrieving additional pages using a cursor, you must use the original query.
limit: Option<i32>
The maximum number of results to be returned in a single page. It is possible to receive fewer results than the specified limit on a given page.
Default: 500
return_entries: bool
A Boolean that controls the format of the search results. If true, SearchOrders returns OrderEntry objects. If false, SearchOrders returns complete order objects.
Trait Implementations§
Source§impl Clone for SearchOrdersRequest
impl Clone for SearchOrdersRequest
Source§fn clone(&self) -> SearchOrdersRequest
fn clone(&self) -> SearchOrdersRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SearchOrdersRequest
impl Debug for SearchOrdersRequest
Source§impl Default for SearchOrdersRequest
impl Default for SearchOrdersRequest
Source§fn default() -> SearchOrdersRequest
fn default() -> SearchOrdersRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchOrdersRequest
impl PartialEq for SearchOrdersRequest
Source§impl Serialize for SearchOrdersRequest
impl Serialize for SearchOrdersRequest
impl Eq for SearchOrdersRequest
impl StructuralPartialEq for SearchOrdersRequest
Auto Trait Implementations§
impl Freeze for SearchOrdersRequest
impl RefUnwindSafe for SearchOrdersRequest
impl Send for SearchOrdersRequest
impl Sync for SearchOrdersRequest
impl Unpin for SearchOrdersRequest
impl UnwindSafe for SearchOrdersRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.