Struct stripe::TransferSchedule
source · pub struct TransferSchedule {
pub delay_days: u32,
pub interval: String,
pub monthly_anchor: Option<u8>,
pub weekly_anchor: Option<String>,
}
Fields§
§delay_days: u32
The number of days charges for the account will be held before being paid out.
interval: String
How frequently funds will be paid out.
One of manual
(payouts only created via API call), daily
, weekly
, or monthly
.
monthly_anchor: Option<u8>
The day of the month funds will be paid out.
Only shown if interval
is monthly.
Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
weekly_anchor: Option<String>
The day of the week funds will be paid out, of the style ‘monday’, ‘tuesday’, etc.
Only shown if interval
is weekly.
Trait Implementations§
source§impl Clone for TransferSchedule
impl Clone for TransferSchedule
source§fn clone(&self) -> TransferSchedule
fn clone(&self) -> TransferSchedule
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 TransferSchedule
impl Debug for TransferSchedule
source§impl Default for TransferSchedule
impl Default for TransferSchedule
source§fn default() -> TransferSchedule
fn default() -> TransferSchedule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransferSchedule
impl<'de> Deserialize<'de> for TransferSchedule
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 TransferSchedule
impl RefUnwindSafe for TransferSchedule
impl Send for TransferSchedule
impl Sync for TransferSchedule
impl Unpin for TransferSchedule
impl UnwindSafe for TransferSchedule
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