Struct stripe::TransferDataParams
source · pub struct TransferDataParams {
pub amount: Option<i64>,
pub destination: String,
}
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: String
ID of an existing, connected Stripe account.
Trait Implementations§
source§impl Clone for TransferDataParams
impl Clone for TransferDataParams
source§fn clone(&self) -> TransferDataParams
fn clone(&self) -> TransferDataParams
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 TransferDataParams
impl Debug for TransferDataParams
source§impl Default for TransferDataParams
impl Default for TransferDataParams
source§fn default() -> TransferDataParams
fn default() -> TransferDataParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransferDataParams
impl<'de> Deserialize<'de> for TransferDataParams
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 Freeze for TransferDataParams
impl RefUnwindSafe for TransferDataParams
impl Send for TransferDataParams
impl Sync for TransferDataParams
impl Unpin for TransferDataParams
impl UnwindSafe for TransferDataParams
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