pub struct FlowScheduleSpec {
pub id: String,
pub enabled: bool,
pub trigger: ScheduleTrigger,
pub name: Option<String>,
pub timezone: Option<String>,
pub inputs: Option<Value>,
pub persona: Option<String>,
}Expand description
A single flow-level schedule: one trigger, plus the toggle and overrides that apply when it fires.
See SavedFlow::schedules. A flow may carry many of these; each fires
independently.
Fields§
§id: StringStable identifier within the enclosing flow (e.g. "morning"). Must be
unique among the flow’s schedules. Author-assigned for published defaults
so an upgrade can diff schedules by id.
enabled: boolWhether this individual trigger is active. Defaults to true. Distinct
from SavedFlow::enabled, the flow-wide master switch.
trigger: ScheduleTriggerThe trigger, tagged by type: manual | minutes | hours | cron.
name: Option<String>Human-readable label for editors ("Morning brief").
timezone: Option<String>IANA timezone the cron trigger is evaluated in (e.g.
"America/Detroit"). None means the host’s local/server time. Ignored
by non-cron triggers.
inputs: Option<Value>Inputs handed to the flow when this schedule fires, so the same flow can run with different parameters on different schedules.
persona: Option<String>Persona override for runs triggered by this schedule. None falls back to
the flow/host default.
Trait Implementations§
Source§impl Clone for FlowScheduleSpec
impl Clone for FlowScheduleSpec
Source§fn clone(&self) -> FlowScheduleSpec
fn clone(&self) -> FlowScheduleSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more