pub enum QueryValue {
String(String),
Number(f64),
Duration(u64),
}Expand description
Value type for query predicates
Variants§
Trait Implementations§
Source§impl Clone for QueryValue
impl Clone for QueryValue
Source§fn clone(&self) -> QueryValue
fn clone(&self) -> QueryValue
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 QueryValue
impl Debug for QueryValue
Source§impl Display for QueryValue
impl Display for QueryValue
Source§impl PartialEq for QueryValue
impl PartialEq for QueryValue
Source§fn eq(&self, other: &QueryValue) -> bool
fn eq(&self, other: &QueryValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryValue
Auto Trait Implementations§
impl Freeze for QueryValue
impl RefUnwindSafe for QueryValue
impl Send for QueryValue
impl Sync for QueryValue
impl Unpin for QueryValue
impl UnsafeUnpin for QueryValue
impl UnwindSafe for QueryValue
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