aboutsummaryrefslogtreecommitdiff
path: root/src/version_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/version_table.rs')
-rw-r--r--src/version_table.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/version_table.rs b/src/version_table.rs
index 28ee2e01..d037d344 100644
--- a/src/version_table.rs
+++ b/src/version_table.rs
@@ -10,7 +10,7 @@ use crate::table::*;
#[derive(PartialEq, Clone, Debug, Serialize, Deserialize)]
pub struct Version {
// Primary key
- pub version: UUID,
+ pub uuid: UUID,
// Actual data: the blocks for this version
pub deleted: bool,
@@ -30,7 +30,7 @@ pub struct VersionBlock {
impl Entry<Hash, EmptySortKey> for Version {
fn partition_key(&self) -> &Hash {
- &self.version
+ &self.uuid
}
fn sort_key(&self) -> &EmptySortKey {
&EmptySortKey