pub struct CancelPayout { /* private fields */ }
Expand description
You can cancel a previously created payout if its status is pending
.
Stripe refunds the funds to your available balance.
You can’t cancel automatic Stripe payouts.
Implementations§
Source§impl CancelPayout
impl CancelPayout
Source§impl CancelPayout
impl CancelPayout
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.
Trait Implementations§
Source§impl Clone for CancelPayout
impl Clone for CancelPayout
Source§fn clone(&self) -> CancelPayout
fn clone(&self) -> CancelPayout
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 CancelPayout
impl Debug for CancelPayout
Source§impl Serialize for CancelPayout
impl Serialize for CancelPayout
Source§impl StripeRequest for CancelPayout
impl StripeRequest for CancelPayout
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 CancelPayout
impl RefUnwindSafe for CancelPayout
impl Send for CancelPayout
impl Sync for CancelPayout
impl Unpin for CancelPayout
impl UnwindSafe for CancelPayout
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