Struct square_api_client::models::SearchCustomersResponse
source · pub struct SearchCustomersResponse {
pub customers: Option<Vec<Customer>>,
pub cursor: Option<String>,
pub errors: Option<Vec<Error>>,
}
Expand description
This is a model struct for SearchCustomersResponse type
Fields§
§customers: Option<Vec<Customer>>
A list of Customer 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 SearchCustomersResponse
impl Clone for SearchCustomersResponse
source§fn clone(&self) -> SearchCustomersResponse
fn clone(&self) -> SearchCustomersResponse
Returns a copy of the value. Read more
1.0.0 · 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 SearchCustomersResponse
impl Debug for SearchCustomersResponse
source§impl Default for SearchCustomersResponse
impl Default for SearchCustomersResponse
source§fn default() -> SearchCustomersResponse
fn default() -> SearchCustomersResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SearchCustomersResponse
impl<'de> Deserialize<'de> for SearchCustomersResponse
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<SearchCustomersResponse> for SearchCustomersResponse
impl PartialEq<SearchCustomersResponse> for SearchCustomersResponse
source§fn eq(&self, other: &SearchCustomersResponse) -> bool
fn eq(&self, other: &SearchCustomersResponse) -> bool
impl Eq for SearchCustomersResponse
impl StructuralEq for SearchCustomersResponse
impl StructuralPartialEq for SearchCustomersResponse
Auto Trait Implementations§
impl RefUnwindSafe for SearchCustomersResponse
impl Send for SearchCustomersResponse
impl Sync for SearchCustomersResponse
impl Unpin for SearchCustomersResponse
impl UnwindSafe for SearchCustomersResponse
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.