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