Struct square_api_client::models::SearchOrdersRequest
source · [−]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
sourceimpl Clone for SearchOrdersRequest
impl Clone for SearchOrdersRequest
sourcefn clone(&self) -> SearchOrdersRequest
fn clone(&self) -> SearchOrdersRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SearchOrdersRequest
impl Debug for SearchOrdersRequest
sourceimpl Default for SearchOrdersRequest
impl Default for SearchOrdersRequest
sourcefn default() -> SearchOrdersRequest
fn default() -> SearchOrdersRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SearchOrdersRequest> for SearchOrdersRequest
impl PartialEq<SearchOrdersRequest> for SearchOrdersRequest
sourcefn eq(&self, other: &SearchOrdersRequest) -> bool
fn eq(&self, other: &SearchOrdersRequest) -> bool
sourceimpl Serialize for SearchOrdersRequest
impl Serialize for SearchOrdersRequest
impl Eq for SearchOrdersRequest
impl StructuralEq for SearchOrdersRequest
impl StructuralPartialEq for SearchOrdersRequest
Auto Trait Implementations
impl RefUnwindSafe for SearchOrdersRequest
impl Send for SearchOrdersRequest
impl Sync for SearchOrdersRequest
impl Unpin for SearchOrdersRequest
impl UnwindSafe for SearchOrdersRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.