pub struct CreateChargeTransferData {
pub amount: Option<i64>,
pub destination: String,
}
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.
destination: String
ID of an existing, connected Stripe account.
Implementations§
Trait Implementations§
Source§impl Clone for CreateChargeTransferData
impl Clone for CreateChargeTransferData
Source§fn clone(&self) -> CreateChargeTransferData
fn clone(&self) -> CreateChargeTransferData
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 CreateChargeTransferData
impl Debug for CreateChargeTransferData
Auto Trait Implementations§
impl Freeze for CreateChargeTransferData
impl RefUnwindSafe for CreateChargeTransferData
impl Send for CreateChargeTransferData
impl Sync for CreateChargeTransferData
impl Unpin for CreateChargeTransferData
impl UnwindSafe for CreateChargeTransferData
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