[][src]Struct stripe::CaptureCharge

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>,
}

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

impl<'a> Clone for CaptureCharge<'a>[src]

impl<'a> Debug for CaptureCharge<'a>[src]

impl<'a> Default for CaptureCharge<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for CaptureCharge<'a>[src]

impl<'a> Serialize for CaptureCharge<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for CaptureCharge<'a>

impl<'a> Send for CaptureCharge<'a>

impl<'a> Sync for CaptureCharge<'a>

impl<'a> Unpin for CaptureCharge<'a>

impl<'a> UnwindSafe for CaptureCharge<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.