mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 18:12:27 +00:00
Implement PUT method for addressbook import
This commit is contained in:
@@ -67,4 +67,11 @@ pub trait AddressbookStore: Send + Sync + 'static {
|
||||
addressbook_id: &str,
|
||||
object_id: &str,
|
||||
) -> Result<(), Error>;
|
||||
|
||||
async fn import_addressbook(
|
||||
&self,
|
||||
principal: String,
|
||||
addressbook: Addressbook,
|
||||
objects: Vec<AddressObject>,
|
||||
) -> Result<(), Error>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user