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 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)
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionScheduleCreatedData
impl Debug for SessionScheduleCreatedData
Source§impl Default for SessionScheduleCreatedData
impl Default for SessionScheduleCreatedData
Source§fn default() -> SessionScheduleCreatedData
fn default() -> SessionScheduleCreatedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionScheduleCreatedData
impl<'de> Deserialize<'de> for SessionScheduleCreatedData
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 SessionScheduleCreatedData
impl RefUnwindSafe for SessionScheduleCreatedData
impl Send for SessionScheduleCreatedData
impl Sync for SessionScheduleCreatedData
impl Unpin for SessionScheduleCreatedData
impl UnsafeUnpin for SessionScheduleCreatedData
impl UnwindSafe for SessionScheduleCreatedData
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