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
sourceimpl Clone for SearchCustomersResponse
impl Clone for SearchCustomersResponse
sourcefn clone(&self) -> SearchCustomersResponse
fn clone(&self) -> SearchCustomersResponse
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 SearchCustomersResponse
impl Debug for SearchCustomersResponse
sourceimpl Default for SearchCustomersResponse
impl Default for SearchCustomersResponse
sourcefn default() -> SearchCustomersResponse
fn default() -> SearchCustomersResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SearchCustomersResponse
impl<'de> Deserialize<'de> for SearchCustomersResponse
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<SearchCustomersResponse> for SearchCustomersResponse
impl PartialEq<SearchCustomersResponse> for SearchCustomersResponse
sourcefn 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
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.