mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Add import_calendar method to CalendarStore
This commit is contained in:
@@ -34,6 +34,12 @@ pub trait CalendarStore: Send + Sync + 'static {
|
||||
use_trashbin: bool,
|
||||
) -> Result<(), Error>;
|
||||
async fn restore_calendar(&self, principal: &str, name: &str) -> Result<(), Error>;
|
||||
async fn import_calendar(
|
||||
&self,
|
||||
calendar: Calendar,
|
||||
objects: Vec<CalendarObject>,
|
||||
merge_existing: bool,
|
||||
) -> Result<(), Error>;
|
||||
|
||||
async fn sync_changes(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user