pub struct GroupScope<E> { /* private fields */ }Expand description
Service-controlled predicate evaluated after GROUP BY.
Implementations§
Source§impl<E: SearchEntity> GroupScope<E>
impl<E: SearchEntity> GroupScope<E>
pub fn unrestricted() -> Self
pub fn predicate(&self) -> &PredicateArena
Source§impl<E: SearchEntity> GroupScope<E>
impl<E: SearchEntity> GroupScope<E>
Sourcepub fn any(scopes: impl IntoIterator<Item = Self>) -> Result<Self, ParamError>
pub fn any(scopes: impl IntoIterator<Item = Self>) -> Result<Self, ParamError>
Combines service-owned HAVING scopes with OR.
pub fn new() -> GroupScopeBuilder<E>
pub fn builder(limits: ScopeLimits) -> GroupScopeBuilder<E>
pub fn all(scopes: impl IntoIterator<Item = Self>) -> Result<Self, ParamError>
pub fn all_with_limits( scopes: impl IntoIterator<Item = Self>, limits: ScopeLimits, ) -> Result<Self, ParamError>
pub fn any_with_limits( scopes: impl IntoIterator<Item = Self>, limits: ScopeLimits, ) -> Result<Self, ParamError>
Trait Implementations§
Source§impl<E: Clone> Clone for GroupScope<E>
impl<E: Clone> Clone for GroupScope<E>
Auto Trait Implementations§
impl<E> Freeze for GroupScope<E>
impl<E> RefUnwindSafe for GroupScope<E>
impl<E> Send for GroupScope<E>
impl<E> Sync for GroupScope<E>
impl<E> Unpin for GroupScope<E>
impl<E> UnsafeUnpin for GroupScope<E>
impl<E> UnwindSafe for GroupScope<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