Skip to main content

CursorApplyExt

Trait CursorApplyExt 

Source
pub trait CursorApplyExt<E: EntityTrait>: Sized {
    // Required method
    fn apply_cursor_forward(
        self,
        cursor: &CursorV1,
        order: &ODataOrderBy,
        fld_map: &FieldMap<E>,
    ) -> ODataBuildResult<Self>;
}
Expand description

Extension trait for applying cursor-based pagination

Required Methods§

Source

fn apply_cursor_forward( self, cursor: &CursorV1, order: &ODataOrderBy, fld_map: &FieldMap<E>, ) -> ODataBuildResult<Self>

Apply cursor-based forward pagination.

§Errors

Returns ODataBuildError if cursor validation fails.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<E> CursorApplyExt<E> for Select<E>

Source§

fn apply_cursor_forward( self, cursor: &CursorV1, order: &ODataOrderBy, fld_map: &FieldMap<E>, ) -> ODataBuildResult<Self>

Implementors§