pub struct EditSchedule {Show 21 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>,
pub dynamic_skip: Option<String>,
}Fields§
§schedule: StringThe cron schedule to trigger the script or flow. Should include seconds.
timezone: StringThe 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)
dynamic_skip: Option<String>Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean.
Implementations§
Trait Implementations§
Source§impl Clone for EditSchedule
impl Clone for EditSchedule
Source§fn clone(&self) -> EditSchedule
fn clone(&self) -> EditSchedule
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EditSchedule
impl Debug for EditSchedule
Source§impl Default for EditSchedule
impl Default for EditSchedule
Source§fn default() -> EditSchedule
fn default() -> EditSchedule
Source§impl<'de> Deserialize<'de> for EditSchedule
impl<'de> Deserialize<'de> for EditSchedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for EditSchedule
impl PartialEq for EditSchedule
Source§impl Serialize for EditSchedule
impl Serialize for EditSchedule
impl StructuralPartialEq for EditSchedule
Auto Trait Implementations§
impl Freeze for EditSchedule
impl RefUnwindSafe for EditSchedule
impl Send for EditSchedule
impl Sync for EditSchedule
impl Unpin for EditSchedule
impl UnwindSafe for EditSchedule
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)