pub struct ScheduleConfig {
pub workflow_id: String,
pub cron: String,
pub variables: HashMap<String, String>,
pub shadow: bool,
pub enabled: bool,
}Expand description
Scheduled job definition used by both skill system and scheduler.
Fields§
§workflow_id: StringWorkflow ID to run.
cron: StringCron expression (e.g., “0 9 * * 1-5”).
variables: HashMap<String, String>Variables to pass.
shadow: boolWhether to run in shadow mode.
enabled: boolWhether the schedule is enabled.
Trait Implementations§
Source§impl Clone for ScheduleConfig
impl Clone for ScheduleConfig
Source§fn clone(&self) -> ScheduleConfig
fn clone(&self) -> ScheduleConfig
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 ScheduleConfig
impl Debug for ScheduleConfig
Source§impl<'de> Deserialize<'de> for ScheduleConfig
impl<'de> Deserialize<'de> for ScheduleConfig
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
Auto Trait Implementations§
impl Freeze for ScheduleConfig
impl RefUnwindSafe for ScheduleConfig
impl Send for ScheduleConfig
impl Sync for ScheduleConfig
impl Unpin for ScheduleConfig
impl UnsafeUnpin for ScheduleConfig
impl UnwindSafe for ScheduleConfig
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