pub struct SearchOptions<E: SearchEntity> { /* private fields */ }Implementations§
Source§impl<E: SearchEntity> SearchOptions<E>
impl<E: SearchEntity> SearchOptions<E>
pub fn builder() -> Self
pub fn sum<T, K: SummableKind>(self, field: FieldRef<E, T, K>) -> Self
pub fn avg<T, K: SummableKind>(self, field: FieldRef<E, T, K>) -> Self
pub fn min<T, K: SummableKind>(self, field: FieldRef<E, T, K>) -> Self
pub fn max<T, K: SummableKind>(self, field: FieldRef<E, T, K>) -> Self
pub fn custom<T, K: SummableKind>( self, field: FieldRef<E, T, K>, aggregate: CustomAggregate, ) -> Self
pub fn build(self) -> Result<Self, ParamError>
pub fn requests(&self) -> &[SummaryRequest]
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for SearchOptions<E>
impl<E> RefUnwindSafe for SearchOptions<E>
impl<E> Send for SearchOptions<E>
impl<E> Sync for SearchOptions<E>
impl<E> Unpin for SearchOptions<E>
impl<E> UnsafeUnpin for SearchOptions<E>
impl<E> UnwindSafe for SearchOptions<E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more