Struct stripe::CaptureCharge
source · pub struct CaptureCharge<'a> {
pub amount: Option<u64>,
pub application_fee: Option<u64>,
pub receipt_email: Option<&'a str>,
pub statement_descriptor: Option<&'a str>,
}
Expand description
The set of parameters that can be used when capturing a charge object.
For more details see https://stripe.com/docs/api#charge_capture.
Fields§
§amount: Option<u64>
§application_fee: Option<u64>
§receipt_email: Option<&'a str>
§statement_descriptor: Option<&'a str>
Trait Implementations§
source§impl<'a> Clone for CaptureCharge<'a>
impl<'a> Clone for CaptureCharge<'a>
source§fn clone(&self) -> CaptureCharge<'a>
fn clone(&self) -> CaptureCharge<'a>
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<'a> Debug for CaptureCharge<'a>
impl<'a> Debug for CaptureCharge<'a>
source§impl<'a> Default for CaptureCharge<'a>
impl<'a> Default for CaptureCharge<'a>
source§fn default() -> CaptureCharge<'a>
fn default() -> CaptureCharge<'a>
Returns the “default value” for a type. Read more
source§impl<'de: 'a, 'a> Deserialize<'de> for CaptureCharge<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CaptureCharge<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more