pub struct ConnectCollectionTransfer {
pub id: ConnectCollectionTransferId,
pub amount: i64,
pub currency: Currency,
pub destination: Expandable<Account>,
pub livemode: bool,
}
Expand description
The resource representing a Stripe “ConnectCollectionTransfer”.
Fields§
§id: ConnectCollectionTransferId
Unique identifier for the object.
amount: i64
Amount transferred, in cents (or local equivalent).
currency: Currency
Three-letter ISO currency code, in lowercase.
Must be a supported currency.
destination: Expandable<Account>
ID of the account that funds are being collected for.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
Trait Implementations§
source§impl Clone for ConnectCollectionTransfer
impl Clone for ConnectCollectionTransfer
source§fn clone(&self) -> ConnectCollectionTransfer
fn clone(&self) -> ConnectCollectionTransfer
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 ConnectCollectionTransfer
impl Debug for ConnectCollectionTransfer
source§impl Default for ConnectCollectionTransfer
impl Default for ConnectCollectionTransfer
source§fn default() -> ConnectCollectionTransfer
fn default() -> ConnectCollectionTransfer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConnectCollectionTransfer
impl<'de> Deserialize<'de> for ConnectCollectionTransfer
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
source§impl Object for ConnectCollectionTransfer
impl Object for ConnectCollectionTransfer
Auto Trait Implementations§
impl RefUnwindSafe for ConnectCollectionTransfer
impl Send for ConnectCollectionTransfer
impl Sync for ConnectCollectionTransfer
impl Unpin for ConnectCollectionTransfer
impl UnwindSafe for ConnectCollectionTransfer
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