Struct stripe::InvoiceTransferData [−][src]
pub struct InvoiceTransferData {
pub amount: Option<Box<i64>>,
pub destination: Expandable<Account>,
}
Fields
amount: Option<Box<i64>>
The amount in %s that will be transferred to the destination account when the invoice is paid.
By default, the entire amount is transferred to the destination.
destination: Expandable<Account>
The account where funds from the payment will be transferred to upon payment success.
Trait Implementations
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 InvoiceTransferData
impl Send for InvoiceTransferData
impl Sync for InvoiceTransferData
impl Unpin for InvoiceTransferData
impl UnwindSafe for InvoiceTransferData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more