Trait query_structure::filter::ScalarCompare
source · pub trait ScalarCompare {
Show 17 methods
// Required methods
fn is_in<T>(&self, val: T) -> Filter
where T: Into<ConditionListValue>;
fn not_in<T>(&self, val: T) -> Filter
where T: Into<ConditionListValue>;
fn equals<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn not_equals<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn contains<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn not_contains<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn starts_with<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn not_starts_with<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn ends_with<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn not_ends_with<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn less_than<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn less_than_or_equals<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn greater_than<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn greater_than_or_equals<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn search<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn not_search<T>(&self, val: T) -> Filter
where T: Into<ConditionValue>;
fn is_set(&self, val: bool) -> Filter;
}
Expand description
Comparing methods for scalar fields.
Required Methods§
fn is_in<T>(&self, val: T) -> Filterwhere T: Into<ConditionListValue>,
fn not_in<T>(&self, val: T) -> Filterwhere T: Into<ConditionListValue>,
fn equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn not_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn contains<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn not_contains<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn starts_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn not_starts_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn ends_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn not_ends_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn less_than<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn less_than_or_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn greater_than<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn greater_than_or_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn search<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn not_search<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,
fn is_set(&self, val: bool) -> Filter
Object Safety§
This trait is not object safe.