pub enum PredicateValue {
Int(i64),
String(String),
Bool(bool),
Null,
Param(usize),
Literal(Value),
}Expand description
A value in a predicate (literal or parameter reference).
Variants§
Int(i64)
Literal integer.
String(String)
Literal string.
Bool(bool)
Literal boolean.
Null
NULL literal.
Param(usize)
Parameter placeholder ($1, $2, etc.) - 1-indexed.
Literal(Value)
Literal value (for any type).
Trait Implementations§
Source§impl Clone for PredicateValue
impl Clone for PredicateValue
Source§fn clone(&self) -> PredicateValue
fn clone(&self) -> PredicateValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for PredicateValue
impl RefUnwindSafe for PredicateValue
impl Send for PredicateValue
impl Sync for PredicateValue
impl Unpin 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