pub struct Reminder {Show 15 fields
pub id: String,
pub title: String,
pub instructions: String,
pub commands: Vec<String>,
pub refs: Vec<ReminderRef>,
pub priority: Priority,
pub due_at: DateTime<Utc>,
pub schedule: Option<Schedule>,
pub autonomous: bool,
pub created_by: String,
pub created_at: DateTime<Utc>,
pub status: ReminderStatus,
pub snoozed_until: Option<DateTime<Utc>>,
pub executions: Vec<ExecutionRecord>,
pub tags: Vec<String>,
}Expand description
A scheduled reminder for an agent or user.
Fields§
§id: String§title: String§instructions: StringFull instructions for the agent at execution time.
commands: Vec<String>Optional specific commands/tool calls to run (agent interprets these).
refs: Vec<ReminderRef>Soft references to contextual objects (branches, memories, plans, tasks).
priority: Priority§due_at: DateTime<Utc>§schedule: Option<Schedule>Recurrence schedule. None means fire once.
autonomous: booltrue: agent may execute without asking the user first.
false: agent must surface to user and call approve() before acting.
created_by: String§created_at: DateTime<Utc>§status: ReminderStatus§snoozed_until: Option<DateTime<Utc>>Set when the reminder was snoozed; the original due_at is preserved
as the first entry in executions if snooze happened mid-execution.
executions: Vec<ExecutionRecord>Full audit trail of every execution attempt.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reminder
impl<'de> Deserialize<'de> for Reminder
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 Reminder
impl RefUnwindSafe for Reminder
impl Send for Reminder
impl Sync for Reminder
impl Unpin for Reminder
impl UnsafeUnpin for Reminder
impl UnwindSafe for Reminder
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