Support for iCal UID
This commit is contained in:
parent
9d2d83e06f
commit
0fe487c988
4 changed files with 34 additions and 6 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue