pub struct ListCustomerSegmentsParameters {
pub cursor: Option<String>,
pub limit: Option<i32>,
}
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 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 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.
Auto Trait Implementations§
impl Freeze for ListCustomerSegmentsParameters
impl RefUnwindSafe for ListCustomerSegmentsParameters
impl Send for ListCustomerSegmentsParameters
impl Sync for ListCustomerSegmentsParameters
impl Unpin for ListCustomerSegmentsParameters
impl UnwindSafe for ListCustomerSegmentsParameters
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