pub enum PredicateValue {
Single(Value),
Range(Value, Value),
List(Vec<Value>),
Pattern(String),
None,
}Expand description
Value type for predicates
Variants§
Single(Value)
Single value
Range(Value, Value)
Range of values (for BETWEEN)
List(Vec<Value>)
List of values (for IN)
Pattern(String)
Pattern string (for LIKE)
None
No value (for IS NULL)
Trait Implementations§
Source§impl Clone for PredicateValue
impl Clone for PredicateValue
Auto Trait Implementations§
impl Freeze for PredicateValue
impl RefUnwindSafe for PredicateValue
impl Send for PredicateValue
impl Sync for PredicateValue
impl Unpin for PredicateValue
impl UnsafeUnpin for PredicateValue
impl UnwindSafe for PredicateValue
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