pub trait EntityColumnPredicateExt<E: Entity> {
// Required methods
fn eq<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn ne<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn gt<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn gte<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn lt<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn lte<V>(self, value: V) -> Predicate
where V: SqlTypeMapping;
fn is_null(self) -> Predicate;
fn is_not_null(self) -> Predicate;
fn contains(self, value: impl Into<String>) -> Predicate;
fn starts_with(self, value: impl Into<String>) -> Predicate;
fn ends_with(self, value: impl Into<String>) -> Predicate;
}Required Methods§
fn eq<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn ne<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn gt<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn gte<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn lt<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn lte<V>(self, value: V) -> Predicatewhere
V: SqlTypeMapping,
fn is_null(self) -> Predicate
fn is_not_null(self) -> Predicate
fn contains(self, value: impl Into<String>) -> Predicate
fn starts_with(self, value: impl Into<String>) -> Predicate
fn ends_with(self, value: impl Into<String>) -> Predicate
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.