1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Adaptive View Layer.
//!
//! The database schema knows field names and types but not visual importance.
//! This module lets rustio-admin record that importance once, as a stable
//! [`ViewSpec`], and render generated tables/lists/cards deterministically.
//!
//! Runtime contract: rendering reads a saved `ViewSpec` and nothing else. No
//! AI, no dynamic guessing, no non-determinism. Inference ([`infer`]) and the
//! future view designer only ever *produce* a `ViewSpec`; the saved spec is
//! always the source of truth.
//!
//! The layer is purely additive and presentation-only. It owns no search,
//! filtering, sorting, pagination, actions, or permissions — when a model has
//! no saved spec, callers fall back to the existing table path unchanged.
// public:
// public:
// public:
// public:
// public:
// public:
// public:
pub use ;
// public:
pub use ;
// public:
pub use ViewMode;
// public:
pub use ;
// public:
pub use ;
// public:
pub use ;