[][src]Enum modio::filter::Operator

pub enum Operator {
    Equals,
    Not,
    Like,
    NotLike,
    In,
    NotIn,
    Min,
    Max,
    SmallerThan,
    GreaterThan,
    BitwiseAnd,
}

Filter operators of mod.io.

See mod.io docs for more information.

Variants

Equals

Equal to (id=1)

Not

Not equal to (id-not=1)

Like

Equivalent to SQL's LIKE. * is equivalent to SQL's %. (name-lk=foo*)

NotLike

Equivalent to SQL's NOT LIKE (name-not-lk=foo*)

In

Equivalent to SQL's IN (id-in=1,3,5)

NotIn

Equivalent to SQL's NOT IN (id-not-in=1,3,5)

Min

Greater than or equal to (id-min=5)

Max

Less than or equal to (id-max=10)

SmallerThan

Less than (id-st=10)

GreaterThan

Greater than (id-gt=5)

BitwiseAnd

Match bits (maturity_option-bitwise-and=5)

Trait Implementations

impl Clone for Operator[src]

impl Debug for Operator[src]

impl Display for Operator[src]

impl Eq for Operator[src]

impl Ord for Operator[src]

impl PartialEq<Operator> for Operator[src]

impl PartialOrd<Operator> for Operator[src]

impl StructuralEq for Operator[src]

impl StructuralPartialEq for Operator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.