From db6e0bfc8ffb368585fc7038ee4c3611a691adb5 Mon Sep 17 00:00:00 2001 From: Charles Schleich Date: Thu, 20 Jun 2024 16:36:49 +0200 Subject: [PATCH] Value fields public --- zenoh/src/api/value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenoh/src/api/value.rs b/zenoh/src/api/value.rs index 006767e427..88470b3360 100644 --- a/zenoh/src/api/value.rs +++ b/zenoh/src/api/value.rs @@ -19,8 +19,8 @@ use super::{bytes::ZBytes, encoding::Encoding}; #[non_exhaustive] #[derive(Clone, Debug, PartialEq, Eq)] pub struct Value { - pub(crate) payload: ZBytes, - pub(crate) encoding: Encoding, + pub payload: ZBytes, + pub encoding: Encoding, } impl Value {