Struct snapps_txn_reference_impl::condition::ClosedInterval [−][src]
pub struct ClosedInterval<T> {
pub lower: T,
pub upper: T,
}
Expand description
A condition that is true for any value x
that satisfies lower <= x <= upper
, parameterised
by a type T
.
Fields
lower: T
The (inclusive) lower bound of the condition. A value x
must satisfy lower <= x
in
order to satisfy this condition.
upper: T
The (inclusive) upper bound of the condition. A value x
must satisfy upper <= x
in
order to satisfy this condition.