use chrono::{DateTime, Utc};
#[derive(Debug, Clone)]
pub struct Calendar {
pub id: i64,
pub name: String,
pub color: String,
pub description: String,
}
#[derive(Debug, Clone)]
pub struct Event {
pub uid: String,
pub etag: String,
pub icalendar: String,
pub summary: String,
pub dtstart: Option<DateTime<Utc>>,
pub dtend: Option<DateTime<Utc>>,
}
#[derive(Debug, Clone)]
pub struct AddressBook {
pub id: i64,
pub name: String,
pub description: String,
}
#[derive(Debug, Clone)]
pub struct Contact {
pub uid: String,
pub etag: String,
pub vcard: String,
pub fn_name: String,
pub email: String,
}
#[derive(Debug, Clone)]
pub struct PutResult {
pub created: bool,
pub etag: String,
}