PageResponse
struct · ferroui-dynamic-data · v0.5.0
struct PageResponse
The page that a paged change set holds (PageResponse). Two responses are equal when their
parts are (PageResponse.DefaultComparer).
Members
new
const fn new(page_size: usize, total_size: usize, page: usize, pages: usize) -> Self
The page page of pages, of page_size items, of total_size items in all
(PageResponse(int pageSize, int totalSize, int page, int pages)).
page
const fn page(self: &Self) -> usize
The page, from 1 (Page).
pages
const fn pages(self: &Self) -> usize
The number of pages (Pages).
page_size
const fn page_size(self: &Self) -> usize
The number of items of a page (PageSize).
total_size
const fn total_size(self: &Self) -> usize
The number of items of all the pages (TotalSize).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringEquivalent<K>CloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashIPageResponseDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.