Struct stripe::TransferData
source · pub struct TransferData {
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 TransferData
impl Clone for TransferData
source§fn clone(&self) -> TransferData
fn clone(&self) -> TransferData
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 Debug for TransferData
impl Debug for TransferData
source§impl Default for TransferData
impl Default for TransferData
source§fn default() -> TransferData
fn default() -> TransferData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransferData
impl<'de> Deserialize<'de> for TransferData
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