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§
Source§impl Clone for SearchOrdersResponse
impl Clone for SearchOrdersResponse
Source§fn clone(&self) -> SearchOrdersResponse
fn clone(&self) -> SearchOrdersResponse
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 SearchOrdersResponse
impl Debug for SearchOrdersResponse
Source§impl Default for SearchOrdersResponse
impl Default for SearchOrdersResponse
Source§fn default() -> SearchOrdersResponse
fn default() -> SearchOrdersResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchOrdersResponse
impl<'de> Deserialize<'de> for SearchOrdersResponse
Source§fn 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
Source§impl PartialEq for SearchOrdersResponse
impl PartialEq for SearchOrdersResponse
impl Eq for SearchOrdersResponse
impl StructuralPartialEq for SearchOrdersResponse
Auto Trait Implementations§
impl Freeze for SearchOrdersResponse
impl RefUnwindSafe for SearchOrdersResponse
impl Send for SearchOrdersResponse
impl Sync for SearchOrdersResponse
impl Unpin for SearchOrdersResponse
impl UnwindSafe for SearchOrdersResponse
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.