Struct square_api_client::models::SearchOrdersResponse
source · pub struct SearchOrdersResponse {
pub order_entries: Option<Vec<OrderEntry>>,
pub orders: Option<Vec<Order>>,
pub cursor: Option<String>,
pub errors: Option<Vec<Error>>,
}
Expand description
This is a model struct for SearchOrdersResponse type
Fields
order_entries: Option<Vec<OrderEntry>>
A list of OrderEntries that fit the query conditions. The list is populated
only if return_entries
is set to true
in the request.
orders: Option<Vec<Order>>
A list of Order objects that match the query conditions. The list is populated only if
return_entries
is set to false
in the request.
cursor: Option<String>
The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see Pagination.
errors: Option<Vec<Error>>
Errors encountered during the search
Trait Implementations
sourceimpl Clone for SearchOrdersResponse
impl Clone for SearchOrdersResponse
sourcefn clone(&self) -> SearchOrdersResponse
fn clone(&self) -> SearchOrdersResponse
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 SearchOrdersResponse
impl Debug for SearchOrdersResponse
sourceimpl Default for SearchOrdersResponse
impl Default for SearchOrdersResponse
sourcefn default() -> SearchOrdersResponse
fn default() -> SearchOrdersResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SearchOrdersResponse
impl<'de> Deserialize<'de> for SearchOrdersResponse
sourcefn 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
sourceimpl PartialEq<SearchOrdersResponse> for SearchOrdersResponse
impl PartialEq<SearchOrdersResponse> for SearchOrdersResponse
sourcefn eq(&self, other: &SearchOrdersResponse) -> bool
fn eq(&self, other: &SearchOrdersResponse) -> bool
impl Eq for SearchOrdersResponse
impl StructuralEq for SearchOrdersResponse
impl StructuralPartialEq for SearchOrdersResponse
Auto Trait Implementations
impl RefUnwindSafe for SearchOrdersResponse
impl Send for SearchOrdersResponse
impl Sync for SearchOrdersResponse
impl Unpin for SearchOrdersResponse
impl UnwindSafe for SearchOrdersResponse
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.