feat: with String EventInfo

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-10-05 22:09:56 +02:00
parent bc28451f8d
commit 4a88d2fecd
13 changed files with 89 additions and 131 deletions

View File

@@ -25,11 +25,11 @@ pub trait Deserializer {
Self: Sized;
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone)]
pub struct EventInfo {
pub domain: &'static str,
pub entity_type: &'static str,
pub event_name: &'static str,
pub domain: String,
pub entity_type: String,
pub event_name: String,
}
impl Display for EventInfo {