pub struct ListForwardingRequest { /* private fields */ }
Expand description
Lists all ForwardingRequest objects.
Implementations§
Source§impl ListForwardingRequest
impl ListForwardingRequest
Sourcepub fn created(self, created: impl Into<ListForwardingRequestCreated>) -> Self
pub fn created(self, created: impl Into<ListForwardingRequestCreated>) -> Self
Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values.
Sourcepub fn ending_before(self, ending_before: impl Into<String>) -> Self
pub fn ending_before(self, ending_before: impl Into<String>) -> Self
A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID.
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn limit(self, limit: impl Into<i64>) -> Self
pub fn limit(self, limit: impl Into<i64>) -> Self
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
Sourcepub fn starting_after(self, starting_after: impl Into<String>) -> Self
pub fn starting_after(self, starting_after: impl Into<String>) -> Self
A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.
Source§impl ListForwardingRequest
impl ListForwardingRequest
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
pub fn paginate(&self) -> ListPaginator<List<ForwardingRequest>>
Trait Implementations§
Source§impl Clone for ListForwardingRequest
impl Clone for ListForwardingRequest
Source§fn clone(&self) -> ListForwardingRequest
fn clone(&self) -> ListForwardingRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListForwardingRequest
impl Debug for ListForwardingRequest
Source§impl Default for ListForwardingRequest
impl Default for ListForwardingRequest
Source§impl Serialize for ListForwardingRequest
impl Serialize for ListForwardingRequest
Source§impl StripeRequest for ListForwardingRequest
impl StripeRequest for ListForwardingRequest
Source§type Output = List<ForwardingRequest>
type Output = List<ForwardingRequest>
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for ListForwardingRequest
impl RefUnwindSafe for ListForwardingRequest
impl Send for ListForwardingRequest
impl Sync for ListForwardingRequest
impl Unpin for ListForwardingRequest
impl UnwindSafe for ListForwardingRequest
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