Crate postgres_range

Source
Expand description

Types dealing with ranges of values

Macros§

range
The range! macro can make it easier to create ranges. It roughly mirrors traditional mathematic range syntax.

Structs§

Range
Represents a range of values.
RangeBound
Represents a one-sided bound.

Enums§

BoundSide
The possible sides of a bound.
BoundType
The type of a range bound.
LowerBound
A tag type representing a lower bound
UpperBound
A tag type representing an upper bound

Traits§

BoundSided
A trait implemented by phantom types indicating the type of the bound.
Normalizable
A trait that normalizes a range bound for a type