Struct stripe::generated::core::setup_attempt::ListSetupAttempts
source · pub struct ListSetupAttempts<'a> {
pub created: Option<RangeQuery<Timestamp>>,
pub ending_before: Option<SetupAttemptId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub setup_intent: SetupIntentId,
pub starting_after: Option<SetupAttemptId>,
}
Expand description
The parameters for SetupAttempt::list
.
Fields§
§created: Option<RangeQuery<Timestamp>>
A filter on the list, based on the object created
field.
The value can be a string with an integer Unix timestamp or a dictionary with a number of different query options.
ending_before: Option<SetupAttemptId>
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<u64>
A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 10.
setup_intent: SetupIntentId
Only return SetupAttempts created by the SetupIntent specified by this ID.
starting_after: Option<SetupAttemptId>
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.
Implementations§
source§impl<'a> ListSetupAttempts<'a>
impl<'a> ListSetupAttempts<'a>
pub fn new(setup_intent: SetupIntentId) -> Self
Trait Implementations§
source§impl<'a> Clone for ListSetupAttempts<'a>
impl<'a> Clone for ListSetupAttempts<'a>
source§fn clone(&self) -> ListSetupAttempts<'a>
fn clone(&self) -> ListSetupAttempts<'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 ListSetupAttempts<'a>
impl<'a> Debug for ListSetupAttempts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListSetupAttempts<'a>
impl<'a> RefUnwindSafe for ListSetupAttempts<'a>
impl<'a> Send for ListSetupAttempts<'a>
impl<'a> Sync for ListSetupAttempts<'a>
impl<'a> Unpin for ListSetupAttempts<'a>
impl<'a> UnwindSafe for ListSetupAttempts<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)