pub struct ScheduleEntry {
pub at: Option<i64>,
pub cron: Option<String>,
pub display_prompt: Option<String>,
pub id: i64,
pub interval_ms: Option<i64>,
pub next_run_at: String,
pub prompt: String,
pub recurring: bool,
pub tz: Option<String>,
}Expand description
Schema for the ScheduleEntry type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§at: Option<i64>Absolute fire time (epoch milliseconds) for a one-shot calendar schedule.
cron: Option<String>5-field cron expression for a recurring calendar schedule, evaluated in tz.
display_prompt: Option<String>Display-only label for the prompt as shown in the UI (e.g. /skill-name for a skill-invocation schedule). The actual enqueued prompt is prompt.
id: i64Sequential id assigned by the runtime within the session. Stable across resumes (rebuilt from the event log).
interval_ms: Option<i64>Interval between scheduled ticks, in milliseconds (relative-interval schedules).
next_run_at: StringISO 8601 timestamp when the next tick is scheduled to fire.
prompt: StringPrompt text that gets enqueued on every tick.
recurring: boolWhether the schedule re-arms after each tick (/every) or fires once (/after).
tz: Option<String>IANA timezone the cron expression is evaluated in.
Trait Implementations§
Source§impl Clone for ScheduleEntry
impl Clone for ScheduleEntry
Source§fn clone(&self) -> ScheduleEntry
fn clone(&self) -> ScheduleEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more