Skip to main content

Module app

Module app 

Source

Structs§

AdminConfig
Configuration for the admin surface. When present, build_app_with_admin (or serve_with_admin) mounts POST /admin/snapshot/save and POST /admin/snapshot/load that drive the configured admin handle.
ErrorResponse
HealthResponse
QueryRequest
SnapshotRequest
Request body for POST /admin/snapshot/{save,load}. The body is optional; when it is absent (or an empty JSON object) the server uses the path configured in AdminConfig.
SnapshotResponse

Enums§

QueryFormat

Functions§

build_app
build_app_with_admin
Same as build_app but additionally mounts the admin routes when admin_config is Some.
serve
serve_with_admin