fix(index): make fields public, too

This commit is contained in:
Kat Marchán 2019-06-04 20:29:23 +02:00
parent 6f78e00c42
commit 6504048181
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 5 additions and 5 deletions

View File

@ -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)]