pub struct BalanceSettingsResourcePayoutSchedule {
pub interval: Option<BalanceSettingsResourcePayoutScheduleInterval>,
pub monthly_payout_days: Option<Vec<u32>>,
pub weekly_payout_days: Option<Vec<BalanceSettingsResourcePayoutScheduleWeeklyPayoutDays>>,
}
Fields§
§interval: Option<BalanceSettingsResourcePayoutScheduleInterval>
How frequently funds will be paid out.
One of manual
(payouts only created via API call), daily
, weekly
, or monthly
.
monthly_payout_days: Option<Vec<u32>>
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_payout_days: Option<Vec<BalanceSettingsResourcePayoutScheduleWeeklyPayoutDays>>
The days of the week when available funds are paid out, specified as an array, for example, [monday
, tuesday
].
Only shown if interval
is weekly.
Trait Implementations§
Source§impl Clone for BalanceSettingsResourcePayoutSchedule
impl Clone for BalanceSettingsResourcePayoutSchedule
Source§fn clone(&self) -> BalanceSettingsResourcePayoutSchedule
fn clone(&self) -> BalanceSettingsResourcePayoutSchedule
Returns a duplicate 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 FromValueOpt for BalanceSettingsResourcePayoutSchedule
impl FromValueOpt for BalanceSettingsResourcePayoutSchedule
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BalanceSettingsResourcePayoutSchedule
impl RefUnwindSafe for BalanceSettingsResourcePayoutSchedule
impl Send for BalanceSettingsResourcePayoutSchedule
impl Sync for BalanceSettingsResourcePayoutSchedule
impl Unpin for BalanceSettingsResourcePayoutSchedule
impl UnwindSafe for BalanceSettingsResourcePayoutSchedule
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