From 6504048181415a4818fb6f713c7f9d7be665064a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 4 Jun 2019 20:29:23 +0200 Subject: [PATCH] fix(index): make fields public, too --- src/index.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.rs b/src/index.rs index 93c29c5..8f8f5f6 100644 --- a/src/index.rs +++ b/src/index.rs @@ -20,11 +20,11 @@ const INDEX_VERSION: &str = "5"; #[derive(PartialEq, Debug)] pub struct Entry { - key: String, - integrity: Integrity, - time: u128, - size: u128, - metadata: Value, + pub key: String, + pub integrity: Integrity, + pub time: u128, + pub size: u128, + pub metadata: Value, } #[derive(Deserialize, Serialize, PartialEq, Debug)]