Trait ReminderManager
Source pub trait ReminderManager: Send + Sync {
// Required methods
fn create_reminder<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
text: &'life1 str,
duration_str: &'life2 str,
context: Option<&'life3 str>,
session_id: Option<&'life4 str>,
project: Option<&'life5 str>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait;
fn list_reminders<'life0, 'life1, 'async_trait>(
&'life0 self,
status: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn dismiss_reminder<'life0, 'life1, 'async_trait>(
&'life0 self,
reminder_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}