pub struct CreateChargeDestination {
pub account: String,
pub amount: Option<i64>,
}
Fields§
§account: String
ID of an existing, connected Stripe account.
amount: Option<i64>
The amount to transfer to the destination account without creating an Application Fee
object.
Cannot be combined with the application_fee
parameter.
Must be less than or equal to the charge amount.
Implementations§
Trait Implementations§
Source§impl Clone for CreateChargeDestination
impl Clone for CreateChargeDestination
Source§fn clone(&self) -> CreateChargeDestination
fn clone(&self) -> CreateChargeDestination
Returns a duplicate 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 CreateChargeDestination
impl Debug for CreateChargeDestination
Auto Trait Implementations§
impl Freeze for CreateChargeDestination
impl RefUnwindSafe for CreateChargeDestination
impl Send for CreateChargeDestination
impl Sync for CreateChargeDestination
impl Unpin for CreateChargeDestination
impl UnwindSafe for CreateChargeDestination
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