Enum umm::grade::QueryConstraint
source · pub enum QueryConstraint {
MustMatchAtLeastOnce,
MustMatchExactlyNTimes(usize),
MustNotMatch,
}
Expand description
An enum to represent the constraint of a query.
Variants§
MustMatchAtLeastOnce
The query must match at least once.
MustMatchExactlyNTimes(usize)
The query must match exactly once.
MustNotMatch
Must not match.
Trait Implementations§
source§impl Clone for QueryConstraint
impl Clone for QueryConstraint
source§fn clone(&self) -> QueryConstraint
fn clone(&self) -> QueryConstraint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for QueryConstraint
impl Default for QueryConstraint
source§fn default() -> QueryConstraint
fn default() -> QueryConstraint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for QueryConstraint
impl Send for QueryConstraint
impl Sync for QueryConstraint
impl Unpin for QueryConstraint
impl UnwindSafe for QueryConstraint
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