pub struct RangeBound {
pub value: PredicateValue,
pub inclusive: bool,
}Expand description
One inclusive or exclusive endpoint of a numeric range.
Fields§
§value: PredicateValueThe typed numeric endpoint.
inclusive: boolWhether a row exactly equal to the endpoint matches.
Implementations§
Source§impl RangeBound
impl RangeBound
Sourcepub fn inclusive(value: PredicateValue) -> Self
pub fn inclusive(value: PredicateValue) -> Self
Creates an inclusive endpoint.
Sourcepub fn exclusive(value: PredicateValue) -> Self
pub fn exclusive(value: PredicateValue) -> Self
Creates an exclusive endpoint.
Trait Implementations§
Source§impl Clone for RangeBound
impl Clone for RangeBound
Source§fn clone(&self) -> RangeBound
fn clone(&self) -> RangeBound
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RangeBound
impl Debug for RangeBound
Source§impl PartialEq for RangeBound
impl PartialEq for RangeBound
impl StructuralPartialEq for RangeBound
Auto Trait Implementations§
impl Freeze for RangeBound
impl RefUnwindSafe for RangeBound
impl Send for RangeBound
impl Sync for RangeBound
impl Unpin for RangeBound
impl UnsafeUnpin for RangeBound
impl UnwindSafe for RangeBound
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