mirror of https://github.com/zkat/cacache-rs.git
fix(index): make fields public, too
This commit is contained in:
parent
6f78e00c42
commit
6504048181
10
src/index.rs
10
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)]
|
||||
|
|
|
|||
Loading…
Reference in New Issue