pub struct EditSchedule {Show 20 fields
pub schedule: String,
pub timezone: String,
pub args: HashMap<String, Value>,
pub on_failure: Option<String>,
pub on_failure_times: Option<f64>,
pub on_failure_exact: Option<bool>,
pub on_failure_extra_args: Option<HashMap<String, Value>>,
pub on_recovery: Option<String>,
pub on_recovery_times: Option<f64>,
pub on_recovery_extra_args: Option<HashMap<String, Value>>,
pub on_success: Option<String>,
pub on_success_extra_args: Option<HashMap<String, Value>>,
pub ws_error_handler_muted: Option<bool>,
pub retry: Option<Box<Retry>>,
pub no_flow_overlap: Option<bool>,
pub summary: Option<String>,
pub description: Option<String>,
pub tag: Option<String>,
pub paused_until: Option<String>,
pub cron_version: Option<String>,
}
Fields§
§schedule: String
The cron schedule to trigger the script or flow. Should include seconds.
timezone: String
The timezone to use for the cron schedule
args: HashMap<String, Value>
The arguments to pass to the script or flow
on_failure: Option<String>
The path to the script or flow to trigger on failure
on_failure_times: Option<f64>
The number of times to retry on failure
on_failure_exact: Option<bool>
Whether the schedule should only run on the exact time
on_failure_extra_args: Option<HashMap<String, Value>>
The arguments to pass to the script or flow
on_recovery: Option<String>
The path to the script or flow to trigger on recovery
on_recovery_times: Option<f64>
The number of times to retry on recovery
on_recovery_extra_args: Option<HashMap<String, Value>>
The arguments to pass to the script or flow
on_success: Option<String>
The path to the script or flow to trigger on success
on_success_extra_args: Option<HashMap<String, Value>>
The arguments to pass to the script or flow
ws_error_handler_muted: Option<bool>
Whether the WebSocket error handler is muted
retry: Option<Box<Retry>>
§no_flow_overlap: Option<bool>
Whether the schedule should not run if a flow is already running
summary: Option<String>
The summary of the schedule
description: Option<String>
The description of the schedule
tag: Option<String>
The tag of the schedule
paused_until: Option<String>
The date and time the schedule will be paused until
cron_version: Option<String>
The version of the cron schedule to use (last is v2)
Implementations§
Trait Implementations§
Source§impl Clone for EditSchedule
impl Clone for EditSchedule
Source§fn clone(&self) -> EditSchedule
fn clone(&self) -> EditSchedule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more