From c6215a9fd02b0be7c857984630f7abbaf1be779c Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 22 Jun 2018 20:18:18 +0200 Subject: [PATCH] pubsub: Make item fields public. --- src/pubsub/event.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {