Enum afrs::Variable[][src]

pub enum Variable {
    Regex {
        name: String,
        field: String,
        regex: Regex,
    },
    Exact {
        name: String,
        field: String,
        exact: Vec<u8>,
    },
    Contains {
        name: String,
        field: String,
        contains: Vec<u8>,
    },
    Compare {
        name: String,
        field: String,
        ordering: Ordering,
        value: f64,
    },
}

Variants

Regex
Show fields

Fields of Regex

name: Stringfield: Stringregex: Regex
Exact
Show fields

Fields of Exact

name: Stringfield: Stringexact: Vec<u8>
Contains
Show fields

Fields of Contains

name: Stringfield: Stringcontains: Vec<u8>
Compare
Show fields

Fields of Compare

name: Stringfield: Stringordering: Orderingvalue: f64

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

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

Performs the conversion.

Performs the conversion.

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.