#[repr(i32)]
pub enum SOSConstraintType {
    Type1,
    Type2,
}
Expand description

The type of a special ordered set constraint

Variants

Type1

type 1: at most one element in the given set of columns can be non-zero

Type2

type 2: at most two elements in the given set of columns can be non-zero. If two elements are non-zero, then they have to be consecutive.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.