Enum mentat_query_algebrizer::ColumnConstraint
[−]
[src]
pub enum ColumnConstraint { Equals(QualifiedAlias, QueryValue), Inequality { operator: Inequality, left: QueryValue, right: QueryValue, }, HasTypes { value: TableAlias, value_types: ValueTypeSet, check_value: bool, }, NotExists(ComputedTable), Matches(QualifiedAlias, QueryValue), }
Variants
Equals(QualifiedAlias, QueryValue)
Inequality
Fields of Inequality
operator: Inequality | |
left: QueryValue | |
right: QueryValue |
HasTypes
Fields of HasTypes
value: TableAlias | |
value_types: ValueTypeSet | |
check_value: bool |
NotExists(ComputedTable)
Matches(QualifiedAlias, QueryValue)
Methods
impl ColumnConstraint
[src]
pub fn has_unit_type(
value: TableAlias,
value_type: ValueType
) -> ColumnConstraint
[src]
value: TableAlias,
value_type: ValueType
) -> ColumnConstraint
Trait Implementations
impl PartialEq for ColumnConstraint
[src]
fn eq(&self, __arg_0: &ColumnConstraint) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnConstraint) -> bool
[src]
This method tests for !=
.
impl Eq for ColumnConstraint
[src]
impl From<ColumnConstraint> for ColumnConstraintOrAlternation
[src]
fn from(thing: ColumnConstraint) -> Self
[src]
Performs the conversion.