Expand description
This is a model struct for ListCustomerSegmentsParameters (query parameters)
Fields§
§cursor: Option<String>
A pagination cursor returned by previous calls to ListCustomerSegments. This cursor is used to retrieve the next set of query results.
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 specified 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 ListCustomerSegmentsParameters
impl ListCustomerSegmentsParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
source§impl Clone for ListCustomerSegmentsParameters
impl Clone for ListCustomerSegmentsParameters
source§fn clone(&self) -> ListCustomerSegmentsParameters
fn clone(&self) -> ListCustomerSegmentsParameters
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 Default for ListCustomerSegmentsParameters
impl Default for ListCustomerSegmentsParameters
source§fn default() -> ListCustomerSegmentsParameters
fn default() -> ListCustomerSegmentsParameters
Returns the “default value” for a type. Read more
source§impl From<ListCustomerSegmentsParameters> for String
impl From<ListCustomerSegmentsParameters> for String
source§fn from(
list_customer_segments_parameters: ListCustomerSegmentsParameters
) -> Self
fn from(
list_customer_segments_parameters: ListCustomerSegmentsParameters
) -> Self
Converts to this type from the input type.