pub struct CaptureChargeTransferData {
pub amount: Option<i64>,
}
Expand description
An optional dictionary including the account to automatically transfer to as part of a destination charge. See the Connect documentation for details.
Fields§
§amount: Option<i64>
The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureChargeTransferData
impl Clone for CaptureChargeTransferData
Source§fn clone(&self) -> CaptureChargeTransferData
fn clone(&self) -> CaptureChargeTransferData
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 CaptureChargeTransferData
impl Debug for CaptureChargeTransferData
Source§impl Default for CaptureChargeTransferData
impl Default for CaptureChargeTransferData
impl Copy for CaptureChargeTransferData
Auto Trait Implementations§
impl Freeze for CaptureChargeTransferData
impl RefUnwindSafe for CaptureChargeTransferData
impl Send for CaptureChargeTransferData
impl Sync for CaptureChargeTransferData
impl Unpin for CaptureChargeTransferData
impl UnwindSafe for CaptureChargeTransferData
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