Module pagination

Module pagination 

Source
Expand description

Data types for handling pagination.

Structs§

ItemCount
The number of items, e.g. .
ItemIndex
The number of items, e.g. .
Page
A page number used for paging in requests.
PageSize
A page number used for paging in requests.

Enums§

TryFromItemCountError
Error when parsing an ItemCount.
TryFromItemIndexError
Error when parsing an ItemIndex.
TryFromPageError
Error when parsing a Page.
TryFromPageSizeError
Error when parsing a Page.

Constants§

ITEM_COUNT_DEFAULT
The default value for ItemCount.
ITEM_COUNT_MAX
The maximum number for an item count to be valid.
ITEM_INDEX_DEFAULT
The default value for ItemIndex.
ITEM_INDEX_MAX
The maximum number for an item index to be valid.