pub struct ChargeTransferData {
pub amount: Option<i64>,
pub destination: Expandable<Account>,
}
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: Expandable<Account>
ID of an existing, connected Stripe account to transfer funds to if transfer_data
was specified in the charge request.
Trait Implementations§
Source§impl Clone for ChargeTransferData
impl Clone for ChargeTransferData
Source§fn clone(&self) -> ChargeTransferData
fn clone(&self) -> ChargeTransferData
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 ChargeTransferData
impl Debug for ChargeTransferData
Source§impl Deserialize for ChargeTransferData
impl Deserialize for ChargeTransferData
Source§impl FromValueOpt for ChargeTransferData
impl FromValueOpt for ChargeTransferData
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for ChargeTransferData
impl RefUnwindSafe for ChargeTransferData
impl Send for ChargeTransferData
impl Sync for ChargeTransferData
impl Unpin for ChargeTransferData
impl UnwindSafe for ChargeTransferData
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