|
|
|
@ -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<Vec<user::EntityID>>, //starts as the user that created (i.e. same as `created_by`), or `None` if ownership is disabled
|
|
|
|
|