pub trait MaybeEmpty {
    fn is_empty(&self) -> bool;
}
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

A helper trait to check if the values clause of a In or NotIn query dsl node is empty or not

Required Methods

Returns true if self represents an empty collection Otherwise false is returned.

Implementors