Expand description
Vista bridge for the REST API backend.
Construct a Vista from a typed Table<RestApi, E> via
RestApi::vista_factory().from_table(...). The factory harvests
schema metadata (columns, id field, references) and wraps the
erased table in a RestApiTableShell that the universal Vista
surface drives.
REST APIs are read-only at this stage — the shell advertises only
can_count.
Re-exports§
pub use any_shell::AnyTableShell;pub use factory::ModelResolver;pub use factory::RestApiVistaFactory;pub use source::RestApiTableShell;pub use spec::ApiColumnExtras;pub use spec::ApiReferenceExtras;pub use spec::ApiTableBlock;pub use spec::ApiTableExtras;pub use spec::NoApiExtras;pub use spec::RestApiVistaSpec;
Modules§
- any_
shell - Generic
TableShelladapter overAnyTable. - factory
RestApiVistaFactory— typed-table entry point,VistaFactorytrait impl, plus the YAML factory pipeline (build_from_spec,register_yaml,with_model_resolver).- source
RestApiTableShell— owns the typedTable<RestApi, E>behind adyn TableLikeso the original entity type stays attached for reference traversal.- spec
- YAML-facing types for the REST-API Vista driver.