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