Struct stripe::CustomerPaymentMethodRetrieval
source · pub struct CustomerPaymentMethodRetrieval<'a> {
pub ending_before: Option<String>,
pub expand: &'a [&'a str],
pub limit: Option<i32>,
pub starting_after: Option<String>,
pub type_: CustomerPaymentMethodRetrievalType,
}
Fields§
§ending_before: Option<String>
A cursor for use in pagination. ending_before
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, starting with obj_bar
,
your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
limit: Option<i32>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
starting_after: Option<String>
A cursor for use in pagination. starting_after
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with obj_foo
,
your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
type_: CustomerPaymentMethodRetrievalType
A required filter on the list, based on the object type
field.
Implementations§
source§impl<'a> CustomerPaymentMethodRetrieval<'a>
impl<'a> CustomerPaymentMethodRetrieval<'a>
pub fn new(the_type: CustomerPaymentMethodRetrievalType) -> Self
Trait Implementations§
source§impl<'a> Clone for CustomerPaymentMethodRetrieval<'a>
impl<'a> Clone for CustomerPaymentMethodRetrieval<'a>
source§fn clone(&self) -> CustomerPaymentMethodRetrieval<'a>
fn clone(&self) -> CustomerPaymentMethodRetrieval<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for CustomerPaymentMethodRetrieval<'a>
impl<'a> Debug for CustomerPaymentMethodRetrieval<'a>
source§impl<'a> PartialEq<CustomerPaymentMethodRetrieval<'a>> for CustomerPaymentMethodRetrieval<'a>
impl<'a> PartialEq<CustomerPaymentMethodRetrieval<'a>> for CustomerPaymentMethodRetrieval<'a>
source§fn eq(&self, other: &CustomerPaymentMethodRetrieval<'a>) -> bool
fn eq(&self, other: &CustomerPaymentMethodRetrieval<'a>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for CustomerPaymentMethodRetrieval<'a>
impl<'a> Serialize for CustomerPaymentMethodRetrieval<'a>
impl<'a> Eq for CustomerPaymentMethodRetrieval<'a>
impl<'a> StructuralEq for CustomerPaymentMethodRetrieval<'a>
impl<'a> StructuralPartialEq for CustomerPaymentMethodRetrieval<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CustomerPaymentMethodRetrieval<'a>
impl<'a> Send for CustomerPaymentMethodRetrieval<'a>
impl<'a> Sync for CustomerPaymentMethodRetrieval<'a>
impl<'a> Unpin for CustomerPaymentMethodRetrieval<'a>
impl<'a> UnwindSafe for CustomerPaymentMethodRetrieval<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.