Skip to main content

job_for_change

Function job_for_change 

Source
fn job_for_change(
    state: &AppState,
    caller: Option<&Caller>,
    id: &str,
) -> Result<(Arc<Store>, CronJob), (StatusCode, Json<Value>)>
Expand description

The store and the job, or the response refusing the change: no store, no such job, or a caller may_change_job refuses.