pub struct ScheduleLimits {
pub max_executions: Option<u64>,
pub max_runtime: Option<Duration>,
}Expand description
Limits for schedule execution
Fields§
§max_executions: Option<u64>Maximum number of executions (None = unlimited)
max_runtime: Option<Duration>Maximum total runtime for this schedule (None = unlimited)
Trait Implementations§
Source§impl Clone for ScheduleLimits
impl Clone for ScheduleLimits
Source§fn clone(&self) -> ScheduleLimits
fn clone(&self) -> ScheduleLimits
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 Debug for ScheduleLimits
impl Debug for ScheduleLimits
Source§impl Default for ScheduleLimits
impl Default for ScheduleLimits
Source§fn default() -> ScheduleLimits
fn default() -> ScheduleLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScheduleLimits
impl RefUnwindSafe for ScheduleLimits
impl Send for ScheduleLimits
impl Sync for ScheduleLimits
impl Unpin for ScheduleLimits
impl UnwindSafe for ScheduleLimits
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