aboutsummaryrefslogtreecommitdiff
path: root/src/model/block_ref_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/block_ref_table.rs')
-rw-r--r--src/model/block_ref_table.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/block_ref_table.rs b/src/model/block_ref_table.rs
index e4372717..2c5f9bf9 100644
--- a/src/model/block_ref_table.rs
+++ b/src/model/block_ref_table.rs
@@ -11,12 +11,15 @@ use crate::block::*;
#[derive(PartialEq, Clone, Debug, Serialize, Deserialize)]
pub struct BlockRef {
// Primary key
+ /// Hash of the block
pub block: Hash,
// Sort key
+ // why a version on a hashed (probably immutable) piece of data?
pub version: UUID,
// Keep track of deleted status
+ /// Is that block deleted
pub deleted: crdt::Bool,
}