pub trait PqCidrExtensionMethods: Expression<SqlType = Cidr> + Sized {
// Provided methods
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
Provided Methods§
Sourcefn is_contained_by<T>(self, other: T) -> IsContainedBy<Self, T::Expression>where
T: AsExpression<Self::SqlType>,
fn is_contained_by<T>(self, other: T) -> IsContainedBy<Self, T::Expression>where
T: AsExpression<Self::SqlType>,
Creates a SQL << expression.
Sourcefn is_contained_by_or_equals<T>(
self,
other: T,
) -> IsContainedByOrEquals<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>,
Creates a SQL <<= expression.
Sourcefn contains<T>(self, other: T) -> Contains<Self, T::Expression>where
T: AsExpression<Self::SqlType>,
fn contains<T>(self, other: T) -> Contains<Self, T::Expression>where
T: AsExpression<Self::SqlType>,
Creates a SQL >> expression.
Sourcefn contains_or_equals<T>(
self,
other: T,
) -> ContainsOrEquals<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>,
Creates a SQL >>= expression.
Sourcefn contains_or_is_contained_by<T>(
self,
other: T,
) -> ContainsOrIsContainedBy<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>,
Creates a SQL && expression.
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.