mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-18 07:39:21 +00:00
42 lines
889 B
Rust
42 lines
889 B
Rust
pub mod addressbook;
|
|
pub mod addressbook_store;
|
|
pub mod calendar_store;
|
|
pub mod error;
|
|
pub use error::Error;
|
|
pub mod auth;
|
|
mod calendar;
|
|
mod contact_birthday_store;
|
|
mod secret;
|
|
mod subscription_store;
|
|
pub mod synctoken;
|
|
|
|
pub use addressbook_store::AddressbookStore;
|
|
pub use calendar_store::CalendarStore;
|
|
pub use contact_birthday_store::ContactBirthdayStore;
|
|
pub use secret::Secret;
|
|
pub use subscription_store::*;
|
|
|
|
pub use addressbook::Addressbook;
|
|
pub use calendar::Calendar;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub enum CollectionOperationType {
|
|
// Sync-Token increased
|
|
Object,
|
|
Delete,
|
|
}
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub enum CollectionOperationDomain {
|
|
Calendar,
|
|
Addressbook,
|
|
}
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct CollectionOperation {
|
|
pub r#type: CollectionOperationType,
|
|
pub domain: CollectionOperationDomain,
|
|
pub topic: String,
|
|
pub sync_token: Option<String>,
|
|
}
|