Trait ip_network::diesel_support::PqCidrExtensionMethods[][src]

pub trait PqCidrExtensionMethods: Expression<SqlType = Cidr> + Sized {
    fn is_contained_by<T>(self, other: T) -> IsContainedBy<Self, T::Expression>
    where
        T: AsExpression<Self::SqlType>
, { ... }
fn is_contained_by_or_equals<T>(
        self,
        other: T
    ) -> IsContainedByOrEquals<Self, T::Expression>
    where
        T: AsExpression<Self::SqlType>
, { ... }
fn contains<T>(self, other: T) -> Contains<Self, T::Expression>
    where
        T: AsExpression<Self::SqlType>
, { ... }
fn contains_or_equals<T>(
        self,
        other: T
    ) -> ContainsOrEquals<Self, T::Expression>
    where
        T: AsExpression<Self::SqlType>
, { ... }
fn contains_or_is_contained_by<T>(
        self,
        other: T
    ) -> ContainsOrIsContainedBy<Self, T::Expression>
    where
        T: AsExpression<Self::SqlType>
, { ... } }
Expand description

Support for PostgreSQL Network Address Operators for Diesel

See PostgreSQL documentation for details.

Provided methods

Creates a SQL << expression.

Creates a SQL <<= expression.

Creates a SQL >> expression.

Creates a SQL >>= expression.

Creates a SQL && expression.

Implementors