Struct stripe::TransferSchedule [−][src]
pub struct TransferSchedule {
pub delay_days: u32,
pub interval: String,
pub monthly_anchor: Option<Box<u8>>,
pub weekly_anchor: Option<Box<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<Box<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<Box<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
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 TransferSchedule
impl Send for TransferSchedule
impl Sync for TransferSchedule
impl Unpin for TransferSchedule
impl UnwindSafe for TransferSchedule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more