Struct stripe::CreateInvoiceTransferData
source · pub struct CreateInvoiceTransferData {
pub amount: Option<i64>,
pub destination: String,
}
Fields§
§amount: Option<i64>
The amount that will be transferred automatically when the invoice is paid.
If no amount is set, the full amount is transferred.
destination: String
ID of an existing, connected Stripe account.
Trait Implementations§
source§impl Clone for CreateInvoiceTransferData
impl Clone for CreateInvoiceTransferData
source§fn clone(&self) -> CreateInvoiceTransferData
fn clone(&self) -> CreateInvoiceTransferData
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 CreateInvoiceTransferData
impl Debug for CreateInvoiceTransferData
source§impl Default for CreateInvoiceTransferData
impl Default for CreateInvoiceTransferData
source§fn default() -> CreateInvoiceTransferData
fn default() -> CreateInvoiceTransferData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateInvoiceTransferData
impl<'de> Deserialize<'de> for CreateInvoiceTransferData
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