pub fn new(jobs: Vec<Box<dyn CronJob + Send>>, interval: Duration) -> CronScheduler {
        CronScheduler {
            jobs: jobs,
            interval: interval,
        }
    }
/// new gives CrobScheduler by taking jobs and duration as an input.
new gives CrobScheduler by taking jobs and duration as an input.
new gives CrobScheduler by taking jobs and duration as an input .
pub fn new(jobs: Vec<Box<dyn CronJob + Send>>, interval: Duration) -> CronScheduler {
        CronScheduler {
            jobs: jobs,
            interval: interval,
        }
    }
pub fn new ( jobs : Vec < Box < dyn CronJob + Send > > , interval : Duration ) -> CronScheduler { CronScheduler { jobs : jobs , interval : interval , } }
new gives CrobScheduler by taking jobs and duration as an input.
new gives CrobScheduler by taking jobs and duration as an input .
jobs
Vec<Box<dyn CronJob + Send>>
interval
Duration