pub struct ClaudeRuntimeSchedulerState {
pub activated_at_unix: Option<i64>,
pub timezone: String,
pub cron_jobs: Vec<ClaudeCronScheduleState>,
pub wakeups: Vec<ClaudeWakeupScheduleState>,
pub deliveries: Vec<ClaudeRuntimeDeliveryState>,
}Expand description
Persisted scheduler cursor. Empty/default state keeps pre-scheduler manifests backward compatible and inert.
Fields§
§activated_at_unix: Option<i64>Explicit activation instant supplied by the embedding harness.
timezone: StringCron interpretation timezone. Currently always UTC; persisted so
the limitation is visible rather than implicit.
cron_jobs: Vec<ClaudeCronScheduleState>Per-cron next-fire and expiry cursors.
wakeups: Vec<ClaudeWakeupScheduleState>Per-wakeup one-shot due cursors.
deliveries: Vec<ClaudeRuntimeDeliveryState>Claimed prompts awaiting a completed provider turn. Persisting these before delivery closes the crash window that would otherwise lose a one-shot job after its cursor was removed.
Trait Implementations§
Source§impl Clone for ClaudeRuntimeSchedulerState
impl Clone for ClaudeRuntimeSchedulerState
Source§fn clone(&self) -> ClaudeRuntimeSchedulerState
fn clone(&self) -> ClaudeRuntimeSchedulerState
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 ClaudeRuntimeSchedulerState
impl Debug for ClaudeRuntimeSchedulerState
Source§impl<'de> Deserialize<'de> for ClaudeRuntimeSchedulerState
impl<'de> Deserialize<'de> for ClaudeRuntimeSchedulerState
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
impl Eq for ClaudeRuntimeSchedulerState
impl StructuralPartialEq for ClaudeRuntimeSchedulerState
Auto Trait Implementations§
impl Freeze for ClaudeRuntimeSchedulerState
impl RefUnwindSafe for ClaudeRuntimeSchedulerState
impl Send for ClaudeRuntimeSchedulerState
impl Sync for ClaudeRuntimeSchedulerState
impl Unpin for ClaudeRuntimeSchedulerState
impl UnsafeUnpin for ClaudeRuntimeSchedulerState
impl UnwindSafe for ClaudeRuntimeSchedulerState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.