diff --git a/src/pubsub/event.rs b/src/pubsub/event.rs index 4ac75cf..c0fe783 100644 --- a/src/pubsub/event.rs +++ b/src/pubsub/event.rs @@ -20,10 +20,10 @@ use pubsub::{NodeName, ItemId, Subscription, SubscriptionId}; #[derive(Debug, Clone)] pub struct Item { - payload: Option, - node: Option, - id: Option, - publisher: Option, + pub payload: Option, + pub node: Option, + pub id: Option, + pub publisher: Option, } impl TryFrom for Item {