pub struct SessionScheduleCreatedData {
pub id: i64,
pub interval_ms: i64,
pub prompt: String,
}Expand description
Scheduled prompt registered via /every
Fields§
§id: i64Sequential id assigned to the scheduled prompt within the session
interval_ms: i64Interval between ticks in milliseconds
prompt: StringPrompt text that gets enqueued on every tick
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<'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