Support for iCal UID

This commit is contained in:
daladim 2021-04-12 09:21:50 +02:00
parent 9d2d83e06f
commit 0fe487c988
4 changed files with 34 additions and 6 deletions

View file

@ -25,6 +25,13 @@ impl Item {
}
}
pub fn uid(&self) -> &str {
match self {
Item::Event(e) => e.uid(),
Item::Task(t) => t.uid(),
}
}
pub fn name(&self) -> &str {
match self {
Item::Event(e) => e.name(),