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§
Source§impl ListCardsParameters
impl ListCardsParameters
pub fn to_query_string(&self) -> String
Trait Implementations§
Source§impl Clone for ListCardsParameters
impl Clone for ListCardsParameters
Source§fn clone(&self) -> ListCardsParameters
fn clone(&self) -> ListCardsParameters
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 ListCardsParameters
impl Debug for ListCardsParameters
Source§impl Default for ListCardsParameters
impl Default for ListCardsParameters
Source§impl From<ListCardsParameters> for String
impl From<ListCardsParameters> for String
Source§fn 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 Freeze for ListCardsParameters
impl RefUnwindSafe for ListCardsParameters
impl Send for ListCardsParameters
impl Sync for ListCardsParameters
impl Unpin for ListCardsParameters
impl UnwindSafe for ListCardsParameters
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