This commit is contained in:
daladim
2021-04-03 18:53:16 +02:00
parent 6c9d7b4ed4
commit 751a98d281
+1 -9
View File
@@ -17,15 +17,7 @@ pub struct Event {
impl Event { impl Event {
pub fn new() -> Self { pub fn new() -> Self {
let version_tag = VersionTag::from(String::from("not-implemented")); unimplemented!();
let sync_status = SyncStatus::Synced(version_tag);
let id: ItemId = "http://not.imp/lemented".parse().unwrap();
Self {
id,
name: String::from("Events are not supported (yet?)"),
sync_status
}
} }
pub fn id(&self) -> &ItemId { pub fn id(&self) -> &ItemId {