pub struct PayoutSettings {
pub debit_negative_balances: bool,
pub schedule: TransferSchedule,
pub statement_descriptor: Option<String>,
}
Fields§
§debit_negative_balances: bool
A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account.
See our Understanding Connect Account Balances documentation for details.
Default value is false
for Custom accounts, otherwise true
.
schedule: TransferSchedule
§statement_descriptor: Option<String>
The text that appears on the bank account statement for payouts.
If not set, this defaults to the platform’s bank descriptor as set in the Dashboard.
Trait Implementations§
source§impl Clone for PayoutSettings
impl Clone for PayoutSettings
source§fn clone(&self) -> PayoutSettings
fn clone(&self) -> PayoutSettings
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 PayoutSettings
impl Debug for PayoutSettings
source§impl Default for PayoutSettings
impl Default for PayoutSettings
source§fn default() -> PayoutSettings
fn default() -> PayoutSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PayoutSettings
impl<'de> Deserialize<'de> for PayoutSettings
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 PayoutSettings
impl Send for PayoutSettings
impl Sync for PayoutSettings
impl Unpin for PayoutSettings
impl UnwindSafe for PayoutSettings
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