pub struct GroupScopeBuilder<E: SearchEntity> { /* private fields */ }Expand description
Builder for service-owned aggregate predicates evaluated in HAVING.
Implementations§
Source§impl<E: SearchEntity> GroupScopeBuilder<E>
impl<E: SearchEntity> GroupScopeBuilder<E>
pub fn eq<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn ne<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn gt<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn ge<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn lt<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn le<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, value: T, ) -> Self
pub fn between<T: IntoScalarValue>( self, field: FieldRef<E, T, AggregateKind>, lower: T, upper: T, ) -> Self
pub fn in_list<T, I>(
self,
field: FieldRef<E, T, AggregateKind>,
values: I,
) -> Selfwhere
T: IntoScalarValue,
I: IntoIterator<Item = T>,
pub fn build(self) -> Result<GroupScope<E>, ParamError>
Auto Trait Implementations§
impl<E> Freeze for GroupScopeBuilder<E>
impl<E> RefUnwindSafe for GroupScopeBuilder<E>
impl<E> Send for GroupScopeBuilder<E>
impl<E> Sync for GroupScopeBuilder<E>
impl<E> Unpin for GroupScopeBuilder<E>
impl<E> UnsafeUnpin for GroupScopeBuilder<E>
impl<E> UnwindSafe for GroupScopeBuilder<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