Skip to main content

Paged

Trait Paged 

Source
pub trait Paged {
    // Required methods
    fn page(&self) -> u32;
    fn per_page(&self) -> u32;
}
Expand description

Trait implemented on the Arguments type of paged read actions.

The generated Paged impl resolves Option<u32> fields into concrete page/per_page values using defaults and clamping from the DSL config.

Required Methods§

Source

fn page(&self) -> u32

Source

fn per_page(&self) -> u32

Implementors§