Struct stripe::CancelPaymentIntent
source · pub struct CancelPaymentIntent {
pub cancellation_reason: Option<PaymentIntentCancellationReason>,
}
Expand description
The set of parameters that can be used when canceling a payment_intent object.
For more details see https://stripe.com/docs/api/payment_intents/cancel
Fields§
§cancellation_reason: Option<PaymentIntentCancellationReason>
Trait Implementations§
source§impl Clone for CancelPaymentIntent
impl Clone for CancelPaymentIntent
source§fn clone(&self) -> CancelPaymentIntent
fn clone(&self) -> CancelPaymentIntent
Returns a copy 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 CancelPaymentIntent
impl Debug for CancelPaymentIntent
source§impl Default for CancelPaymentIntent
impl Default for CancelPaymentIntent
source§fn default() -> CancelPaymentIntent
fn default() -> CancelPaymentIntent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CancelPaymentIntent
impl Send for CancelPaymentIntent
impl Sync for CancelPaymentIntent
impl Unpin for CancelPaymentIntent
impl UnwindSafe for CancelPaymentIntent
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