Skip to main content

Module vista

Module vista 

Source
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::RestApiVistaFactory;
pub use source::RestApiTableShell;
pub use spec::NoApiExtras;
pub use spec::RestApiVistaSpec;

Modules§

any_shell
Generic TableShell adapter over AnyTable.
factory
RestApiVistaFactory — typed-table entry point and VistaFactory trait impl. REST API is read-only at this stage, so the factory advertises only can_count.
source
RestApiTableShell — owns the typed Table<RestApi, E> behind a dyn TableLike so the original entity type stays attached for reference traversal.
spec
YAML-facing types for the REST-API Vista driver.