Skip to main content

Module window

Module window 

Source
Expand description

The --limit/--offset window every paged listing takes.

Every listing in the binary pages — account, order (both queries), audit, jobs, eab, upstream order, admin user and admin session — and every one of them wants the same default, the same two clamps and the same envelope under --json. That envelope is crate::cli::render::json_page; this is the window that produced it.

Structs§

Window
A resolved window, clamped into something a query can be handed.

Constants§

DEFAULT_LIMIT
Default rows per page.