pub struct KeyRange {
pub lower: Option<Key>,
pub upper: Option<Key>,
pub lower_open: bool,
pub upper_open: bool,
}
Expand description
Key range. KeyRange
Fields§
§lower: Option<Key>
Lower bound.
upper: Option<Key>
Upper bound.
lower_open: bool
If true lower bound is open.
upper_open: bool
If true upper bound is open.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyRange
impl<'de> Deserialize<'de> for KeyRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for KeyRange
Auto Trait Implementations§
impl Freeze for KeyRange
impl RefUnwindSafe for KeyRange
impl Send for KeyRange
impl Sync for KeyRange
impl Unpin for KeyRange
impl UnwindSafe for KeyRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more