Cleaner comparisons
This commit is contained in:
parent
751a98d281
commit
f760176435
5 changed files with 46 additions and 11 deletions
|
@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::item::ItemId;
|
||||
use crate::item::SyncStatus;
|
||||
use crate::item::VersionTag;
|
||||
|
||||
/// TODO: implement Event one day.
|
||||
/// This crate currently only supports tasks, not calendar events.
|
||||
|
@ -34,4 +33,8 @@ impl Event {
|
|||
pub fn set_sync_status(&mut self, new_status: SyncStatus) {
|
||||
self.sync_status = new_status;
|
||||
}
|
||||
|
||||
pub fn has_same_observable_content(&self, _other: &Event) -> bool {
|
||||
unimplemented!();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue