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
Provided methods
fn 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.
fn 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.
fn 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.
fn 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.
fn 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.