Enum ligature::Range[][src]

pub enum Range {
    StringLiteralRange {
        start: String,
        end: String,
    },
    IntegerLiteralRange {
        start: i64,
        end: i64,
    },
    BytesLiteralRange {
        start: Bytes,
        end: Bytes,
    },
}
Expand description

A set of enums used to express range queries when it makes sense for that type.

Variants

StringLiteralRange

Represents a String range using basic String comparisons.

Fields of StringLiteralRange

start: String

The starting String (inclusive)

end: String

The end String (exclusive)

IntegerLiteralRange

Represents a String range using basic i64 comparisons.

Fields of IntegerLiteralRange

start: i64

The starting i64 (inclusive)

end: i64

The end i64 (exclusive)

BytesLiteralRange

Represents a String range using basic Bytes comparisons.

Fields of BytesLiteralRange

start: Bytes

The starting Byte array (inclusive)

end: Bytes

The end Byte array (exclusive)

Trait Implementations

Formats the value using the given formatter. 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.