Skip to main content

PaginationMeta

Type Alias PaginationMeta 

Source
pub type PaginationMeta = PageMeta;
Expand description

JSON contract name for the existing pagination metadata.

Aliased Type§

pub struct PaginationMeta {
    pub page: u64,
    pub per_page: u64,
    pub total: u64,
    pub last_page: u64,
}

Fields§

§page: u64

Requested one-based page.

§per_page: u64

Requested maximum items per page.

§total: u64

Total items counted by the application’s query.

§last_page: u64

Last populated page, or one for an empty collection.