pub trait TsQueryExtensions: Expression<SqlType = TsQuery> + Sized {
// Provided methods
fn matches<T: AsExpression<TsVector>>(
self,
other: T,
) -> Matches<Self, T::Expression> { ... }
fn and<T: AsExpression<TsQuery>>(self, other: T) -> And<Self, T::Expression> { ... }
fn or<T: AsExpression<TsQuery>>(self, other: T) -> Or<Self, T::Expression> { ... }
fn contains<T: AsExpression<TsQuery>>(
self,
other: T,
) -> Contains<Self, T::Expression> { ... }
fn contained_by<T: AsExpression<TsQuery>>(
self,
other: T,
) -> ContainedBy<Self, T::Expression> { ... }
}Provided Methods§
fn matches<T: AsExpression<TsVector>>( self, other: T, ) -> Matches<Self, T::Expression>
fn and<T: AsExpression<TsQuery>>(self, other: T) -> And<Self, T::Expression>
fn or<T: AsExpression<TsQuery>>(self, other: T) -> Or<Self, T::Expression>
fn contains<T: AsExpression<TsQuery>>( self, other: T, ) -> Contains<Self, T::Expression>
fn contained_by<T: AsExpression<TsQuery>>( self, other: T, ) -> ContainedBy<Self, T::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.