pub struct Period {
pub start_period: i64,
pub limit: Decimal,
pub number_phases: Option<i32>,
pub phase_to_use: Option<i32>,
}Expand description
One step of a schedule.
Fields§
§start_period: i64Seconds after the schedule’s start at which this step begins.
limit: DecimalThe limit, in the schedule’s RateUnit.
number_phases: Option<i32>How many phases may be used.
phase_to_use: Option<i32>Which phase to use when only one is allowed.
Implementations§
Trait Implementations§
impl Copy for Period
impl StructuralPartialEq for Period
Auto Trait Implementations§
impl Forget for Period
impl Freeze for Period
impl Move for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnsafeUnpin for Period
impl UnwindSafe for Period
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