Struct square_api_client::models::ListCardsParameters
source · [−]pub struct ListCardsParameters {
pub cursor: String,
pub customer_id: String,
pub include_disabled: bool,
pub reference_id: String,
pub sort_order: SortOrder,
}
Expand description
This is a model struct for ListCardsParameters (query parameters)
Fields
cursor: String
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See Pagination for more information.
customer_id: String
Limit results to cards associated with the customer supplied. By default, all cards owned by the merchant are returned.
include_disabled: bool
Includes disabled cards. By default, all enabled cards owned by the merchant are returned.
reference_id: String
Limit results to cards associated with the reference_id supplied.
sort_order: SortOrder
Sorts the returned list by when the card was created with the specified order. This field defaults to ASC.
Implementations
sourceimpl ListCardsParameters
impl ListCardsParameters
pub fn to_query_string(&self) -> String
Trait Implementations
sourceimpl Clone for ListCardsParameters
impl Clone for ListCardsParameters
sourcefn clone(&self) -> ListCardsParameters
fn clone(&self) -> ListCardsParameters
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 ListCardsParameters
impl Debug for ListCardsParameters
sourceimpl Default for ListCardsParameters
impl Default for ListCardsParameters
sourceimpl From<ListCardsParameters> for String
impl From<ListCardsParameters> for String
sourcefn from(list_cards_parameters: ListCardsParameters) -> Self
fn from(list_cards_parameters: ListCardsParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ListCardsParameters
impl Send for ListCardsParameters
impl Sync for ListCardsParameters
impl Unpin for ListCardsParameters
impl UnwindSafe for ListCardsParameters
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