moved some data info points to Tags

master
Avril 4 years ago
parent 4c3982d816
commit f4bd13b74a
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -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

Loading…
Cancel
Save