Trait RemoteClient
Source pub trait RemoteClient {
Show 14 methods
// Required methods
fn update<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
record: Record,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_recurring<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
record: RecurringRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
event_id: String,
) -> Pin<Box<dyn Future<Output = Result<Record>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_recurring<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
event_id: String,
) -> Pin<Box<dyn Future<Output = Result<RecurringRecord>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
event_id: String,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_recurrence<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
event_id: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn record<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
record: Record,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn record_recurrence<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
record: RecurringRecord,
) -> Pin<Box<dyn Future<Output = Result<(String, String)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_recurrence<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<RecurringRecord>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_recurrence<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_today<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
include_completed: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Record>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_all<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
include_completed: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Record>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn events_now<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
last: Duration,
include_completed: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Record>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn complete_task<'life0, 'async_trait>(
&'life0 mut self,
calendar_id: String,
primary_key: u64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}