diff --git a/src/server/data.rs b/src/server/data.rs index ba994f8..af90b2c 100644 --- a/src/server/data.rs +++ b/src/server/data.rs @@ -89,11 +89,13 @@ bitflags! { struct Tags: u16 { /// Default - const NONE = 0; + const NONE = 0; /// This value should be cloned on write unless specified elsewhere. - const COW = 1<<0; + const COW = 1<<0; /// This should not show up in searches - const HIDDEN = 1<<1; + const HIDDEN = 1<<1; + /// Versioning is enabled for this value + const VERSIONED = 1<<2; } } @@ -106,8 +108,6 @@ pub struct Info created: u64, modified: u64, - enable_versioning: bool, - tags: Tags, owner: Option>, //starts as the user that created (i.e. same as `created_by`), or `None` if ownership is disabled