pub fn start_schedule(&mut self) -> &mut Self {
        if let None = self.next_run {
            let now = Tp::now(&self.tz);
            self.next_run = self.next_run_time(&now);
            match &mut self.repeat_config {
                Some(RepeatConfig {
                    repeats,
                    repeats_left,
                    ..
                }) => {
                    *repeats_left = *repeats;
                }
                None => (),
            }
        }
        self
    }
/// Specify a task to run, and schedule its next run
Specify a task to run, and schedule its next run
Specify a task to run and schedule its next run
pub fn start_schedule(&mut self) -> &mut Self {
        if let None = self.next_run {
            let now = Tp::now(&self.tz);
            self.next_run = self.next_run_time(&now);
            match &mut self.repeat_config {
                Some(RepeatConfig {
                    repeats,
                    repeats_left,
                    ..
                }) => {
                    *repeats_left = *repeats;
                }
                None => (),
            }
        }
        self
    }
pub fn start_schedule ( & mut self ) -> & mut Self { if let None = self . next_run { let now = Tp :: now ( & self . tz ) ; self . next_run = self . next_run_time ( & now ) ; match & mut self . repeat_config { Some ( RepeatConfig { repeats , repeats_left , .. } ) => { * repeats_left = * repeats ; } None => ( ) , } } self }
Specify a task to run, and schedule its next run
Specify a task to run and schedule its next run
&mut self