pub type PaginatedPage<T> = Page<<T as Config>::MaxPaginatedPageSizeBytes>;Expand description
Paginated Page type
Aliased Type§
struct PaginatedPage<T> {
pub page_version: PageVersion,
pub schema_id: Option<u16>,
pub nonce: u16,
pub data: BoundedVec<u8, <T as Config>::MaxPaginatedPageSizeBytes>,
}Fields§
§page_version: PageVersionPage “header” version This field should always be first in the page as the structure evolves, so pallet reads can adapt to evolving page structure.
schema_id: Option<u16>SchemaId used to serialize this page’s data.
Use None for Itemized pages (schema_id will be per-item)
nonce: u16Incremental nonce to eliminate of signature replay attacks
data: BoundedVec<u8, <T as Config>::MaxPaginatedPageSizeBytes>Data for the page
- Itemized is limited by
Config::MaxItemizedPageSizeBytes - Paginated is limited by
Config::MaxPaginatedPageSizeBytes