pub struct ListCustomerGroupsParameters {
pub cursor: Option<String>,
pub limit: Option<i32>,
}
Expand description
This is a model struct for ListCustomerGroupsParameters (query parameters)
Fields§
§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.
limit: Option<i32>
The maximum number of results to return in a single page. This limit is advisory. The
response might contain more or fewer results. If the limit is less than 1 or greater than
50, Square returns a 400 VALUE_TOO_LOW
or 400 VALUE_TOO_HIGH
error. The default value is
50.
For more information, see Pagination.
Implementations§
Source§impl ListCustomerGroupsParameters
impl ListCustomerGroupsParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
Source§impl Clone for ListCustomerGroupsParameters
impl Clone for ListCustomerGroupsParameters
Source§fn clone(&self) -> ListCustomerGroupsParameters
fn clone(&self) -> ListCustomerGroupsParameters
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 ListCustomerGroupsParameters
impl Debug for ListCustomerGroupsParameters
Source§impl Default for ListCustomerGroupsParameters
impl Default for ListCustomerGroupsParameters
Source§fn default() -> ListCustomerGroupsParameters
fn default() -> ListCustomerGroupsParameters
Returns the “default value” for a type. Read more
Source§impl From<ListCustomerGroupsParameters> for String
impl From<ListCustomerGroupsParameters> for String
Source§fn from(list_customer_groups_parameters: ListCustomerGroupsParameters) -> Self
fn from(list_customer_groups_parameters: ListCustomerGroupsParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListCustomerGroupsParameters
impl RefUnwindSafe for ListCustomerGroupsParameters
impl Send for ListCustomerGroupsParameters
impl Sync for ListCustomerGroupsParameters
impl Unpin for ListCustomerGroupsParameters
impl UnwindSafe for ListCustomerGroupsParameters
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