Add hidden attribute
All checks were successful
CI / Typos (push) Successful in 19s
CI / Build and test (push) Successful in 1m50s
CI / Clippy (push) Successful in 4m5s
Docker / build-and-push (push) Successful in 4m9s
CI / Build and test (all features) (push) Successful in 8m5s

This commit is contained in:
2026-03-26 21:51:59 -07:00
parent 5807733e62
commit 336480469c
2 changed files with 8 additions and 4 deletions

View File

@@ -63,6 +63,12 @@ pub enum Source {
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct FieldSpec {
/// If true, do not display this field.
/// This attribute has no effect on pile, it
/// is intended for consumers of data.
#[serde(default)]
pub hidden: bool,
/// How to find this field in a data entry
pub path: Vec<ObjectPath>,
}