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]
impl ColumnConstraint
pub fn has_unit_type(
value: TableAlias,
value_type: ValueType
) -> ColumnConstraint
[src]
pub fn has_unit_type(
value: TableAlias,
value_type: ValueType
) -> ColumnConstraint
Trait Implementations
impl PartialEq for ColumnConstraint
[src]
impl PartialEq for ColumnConstraint
fn eq(&self, __arg_0: &ColumnConstraint) -> bool
[src]
fn eq(&self, __arg_0: &ColumnConstraint) -> bool
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]
fn ne(&self, __arg_0: &ColumnConstraint) -> bool
This method tests for !=
.
impl Eq for ColumnConstraint
[src]
impl Eq for ColumnConstraint
impl From<ColumnConstraint> for ColumnConstraintOrAlternation
[src]
impl From<ColumnConstraint> for ColumnConstraintOrAlternation
fn from(thing: ColumnConstraint) -> Self
[src]
fn from(thing: ColumnConstraint) -> Self
Performs the conversion.
impl Debug for ColumnConstraint
[src]
impl Debug for ColumnConstraint
Auto Trait Implementations
impl !Send for ColumnConstraint
impl !Send for ColumnConstraint
impl !Sync for ColumnConstraint
impl !Sync for ColumnConstraint