pub struct ListAccountCapability { /* private fields */ }
Expand description
Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
Implementations§
Source§impl ListAccountCapability
impl ListAccountCapability
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<Capability>>
Trait Implementations§
Source§impl Clone for ListAccountCapability
impl Clone for ListAccountCapability
Source§fn clone(&self) -> ListAccountCapability
fn clone(&self) -> ListAccountCapability
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 ListAccountCapability
impl Debug for ListAccountCapability
Source§impl Serialize for ListAccountCapability
impl Serialize for ListAccountCapability
Source§impl StripeRequest for ListAccountCapability
impl StripeRequest for ListAccountCapability
Source§type Output = List<Capability>
type Output = List<Capability>
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 ListAccountCapability
impl RefUnwindSafe for ListAccountCapability
impl Send for ListAccountCapability
impl Sync for ListAccountCapability
impl Unpin for ListAccountCapability
impl UnwindSafe for ListAccountCapability
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