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.
IntegerLiteralRange
Represents a String range using basic i64 comparisons.
BytesLiteralRange
Represents a String range using basic Bytes comparisons.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more