pub struct NewSchedule {Show 24 fields
pub path: String,
pub schedule: String,
pub timezone: String,
pub script_path: String,
pub is_flow: bool,
pub args: HashMap<String, Value>,
pub enabled: Option<bool>,
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§
§path: String
§schedule: String
§timezone: String
§script_path: String
§is_flow: bool
§args: HashMap<String, Value>
§enabled: Option<bool>
§on_failure: Option<String>
§on_failure_times: Option<f64>
§on_failure_exact: Option<bool>
§on_failure_extra_args: Option<HashMap<String, Value>>
§on_recovery: Option<String>
§on_recovery_times: Option<f64>
§on_recovery_extra_args: Option<HashMap<String, Value>>
§on_success: Option<String>
§on_success_extra_args: Option<HashMap<String, Value>>
§ws_error_handler_muted: Option<bool>
§retry: Option<Box<Retry>>
§no_flow_overlap: Option<bool>
§summary: Option<String>
§description: Option<String>
§tag: Option<String>
§paused_until: Option<String>
§cron_version: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for NewSchedule
impl Clone for NewSchedule
Source§fn clone(&self) -> NewSchedule
fn clone(&self) -> NewSchedule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NewSchedule
impl Debug for NewSchedule
Source§impl Default for NewSchedule
impl Default for NewSchedule
Source§fn default() -> NewSchedule
fn default() -> NewSchedule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewSchedule
impl<'de> Deserialize<'de> for NewSchedule
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NewSchedule
impl PartialEq for NewSchedule
Source§impl Serialize for NewSchedule
impl Serialize for NewSchedule
impl StructuralPartialEq for NewSchedule
Auto Trait Implementations§
impl Freeze for NewSchedule
impl RefUnwindSafe for NewSchedule
impl Send for NewSchedule
impl Sync for NewSchedule
impl Unpin for NewSchedule
impl UnwindSafe for NewSchedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more