Skip to main content

EntityColumnPredicateExt

Trait EntityColumnPredicateExt 

Source
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§

Source

fn eq<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn ne<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn gt<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn gte<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn lt<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn lte<V>(self, value: V) -> Predicate
where V: SqlTypeMapping,

Source

fn is_null(self) -> Predicate

Source

fn is_not_null(self) -> Predicate

Source

fn contains(self, value: impl Into<String>) -> Predicate

Source

fn starts_with(self, value: impl Into<String>) -> Predicate

Source

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.

Implementors§