pub trait FieldIn<'rhs, Rhs, Any = ()>: FieldType {
type InCond<I: FieldProxyImpl>: Condition<'rhs>;
type NiCond<I: FieldProxyImpl>: Condition<'rhs>;
// Required methods
fn field_in<I: FieldProxyImpl>(
field: FieldProxy<I>,
value: Rhs,
) -> Self::InCond<I>;
fn field_not_in<I: FieldProxyImpl>(
field: FieldProxy<I>,
value: Rhs,
) -> Self::NiCond<I>;
}Expand description
Trait for field types to implement sql’s IN comparison.
Read module notes, before using.
Required Associated Types§
Sourcetype InCond<I: FieldProxyImpl>: Condition<'rhs>
type InCond<I: FieldProxyImpl>: Condition<'rhs>
Condition type returned from [FieldRegexp::field_in]
Sourcetype NiCond<I: FieldProxyImpl>: Condition<'rhs>
type NiCond<I: FieldProxyImpl>: Condition<'rhs>
Condition type returned from [FieldRegexp::field_not_in]
Required Methods§
Sourcefn field_in<I: FieldProxyImpl>(
field: FieldProxy<I>,
value: Rhs,
) -> Self::InCond<I>
fn field_in<I: FieldProxyImpl>( field: FieldProxy<I>, value: Rhs, ) -> Self::InCond<I>
Compare the field to another value using IN
Sourcefn field_not_in<I: FieldProxyImpl>(
field: FieldProxy<I>,
value: Rhs,
) -> Self::NiCond<I>
fn field_not_in<I: FieldProxyImpl>( field: FieldProxy<I>, value: Rhs, ) -> Self::NiCond<I>
Compare the field to another value using NOT IN
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".