Skip to main content

SearchProjection

Trait SearchProjection 

Source
pub trait SearchProjection<E: SearchEntity>:
    Sized
    + Send
    + Sync
    + 'static {
    const FIELDS: &'static [ProjectionField];

    // Provided method
    fn cursor_value(&self, _source: FieldId) -> Option<CursorValue> { ... }
}

Required Associated Constants§

Source

const FIELDS: &'static [ProjectionField]

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§