1 2 3 4 5 6 7 8 9 10 11
pub const FLAG_CREATE: &str = "create"; pub const FLAG_UPDATE: &str = "update"; pub const FLAG_DELETE: &str = "delete"; #[derive(Debug)] pub enum Operation<'a> { Create(&'a str), Update(&'a str), Upsert(&'a str), Delete, }