diff --git a/packages/notification/src/structs.rs b/packages/notification/src/structs.rs index 69df77e..d644165 100644 --- a/packages/notification/src/structs.rs +++ b/packages/notification/src/structs.rs @@ -58,6 +58,7 @@ impl Notification { pub trait NotificationData { fn to_cbor(&self, api: &dyn Api) -> StdResult>; fn channel_id(&self) -> &str; + fn id_to_string() -> String; } #[derive(Serialize, Debug, Deserialize, Clone)]