pub struct SessionScheduleCreatedData {
pub at: Option<i64>,
pub cron: Option<String>,
pub display_prompt: Option<String>,
pub id: i64,
pub interval_ms: Option<i64>,
pub prompt: String,
pub recurring: Option<bool>,
pub self_paced: Option<bool>,
pub tz: Option<String>,
}Expand description
Session event “session.schedule_created”. Scheduled prompt registered via /every or /after
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>Optional user-facing label shown in the timeline instead of the actual prompt (e.g. /skill-name args when the prompt is a skill invocation expansion)
id: i64Sequential id assigned to the scheduled prompt within the session
interval_ms: Option<i64>Interval between ticks in milliseconds (relative-interval schedules)
prompt: StringPrompt text that gets enqueued on every tick
recurring: Option<bool>Whether the schedule re-arms after each tick (/every) or fires once (/after)
self_paced: Option<bool>True for a self-paced (dynamic) schedule: no fixed cadence; the model arms each next run via the manage_schedule wakeup action. nextRunAt is model-controlled rather than auto-computed.
tz: Option<String>IANA timezone the cron expression is evaluated in
Trait Implementations§
Source§impl Clone for SessionScheduleCreatedData
impl Clone for SessionScheduleCreatedData
Source§fn clone(&self) -> SessionScheduleCreatedData
fn clone(&self) -> SessionScheduleCreatedData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more