Skip to content

Commit

Permalink
add id to string func
Browse files Browse the repository at this point in the history
  • Loading branch information
darwinzer0 committed Oct 10, 2024
1 parent c28aed1 commit 0c6a362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/notification/src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ impl<T: NotificationData> Notification<T> {
pub trait NotificationData {
fn to_cbor(&self, api: &dyn Api) -> StdResult<Vec<u8>>;
fn channel_id(&self) -> &str;
fn id_to_string() -> String;
}

#[derive(Serialize, Debug, Deserialize, Clone)]
Expand Down

0 comments on commit 0c6a362

Please sign in to comment.