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
Auto Trait Implementations§
impl RefUnwindSafe for CreateInvoiceTransferData
impl Send for CreateInvoiceTransferData
impl Sync for CreateInvoiceTransferData
impl Unpin for CreateInvoiceTransferData
impl UnwindSafe for CreateInvoiceTransferData
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