pub enum FilterValue {
String(Cow<'static, str>),
Int(i64),
UInt(u64),
Float(f64),
Bool(bool),
Array(Vec<FilterValue>),
Blob(Vec<u8>),
Null,
}Variants§
String(Cow<'static, str>)
Int(i64)
UInt(u64)
Float(f64)
Bool(bool)
Array(Vec<FilterValue>)
Blob(Vec<u8>)
Null
Trait Implementations§
Source§impl Clone for FilterValue
impl Clone for FilterValue
Source§fn clone(&self) -> FilterValue
fn clone(&self) -> FilterValue
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 moreSource§impl Debug for FilterValue
impl Debug for FilterValue
Source§impl<'a, T> From<&'a [T]> for FilterValue
impl<'a, T> From<&'a [T]> for FilterValue
Source§fn from(slice: &'a [T]) -> FilterValue
fn from(slice: &'a [T]) -> FilterValue
Converts to this type from the input type.
Source§impl From<&String> for FilterValue
impl From<&String> for FilterValue
Source§fn from(value: &String) -> FilterValue
fn from(value: &String) -> FilterValue
Converts to this type from the input type.
Source§impl From<&str> for FilterValue
impl From<&str> for FilterValue
Source§fn from(value: &str) -> FilterValue
fn from(value: &str) -> FilterValue
Converts to this type from the input type.
Source§impl<T, const N: usize> From<[T; N]> for FilterValue
impl<T, const N: usize> From<[T; N]> for FilterValue
Source§fn from(array: [T; N]) -> FilterValue
fn from(array: [T; N]) -> FilterValue
Converts to this type from the input type.
Source§impl<T> From<Option<T>> for FilterValuewhere
T: Into<FilterValue>,
impl<T> From<Option<T>> for FilterValuewhere
T: Into<FilterValue>,
Source§fn from(value: Option<T>) -> FilterValue
fn from(value: Option<T>) -> FilterValue
Converts to this type from the input type.
Source§impl From<String> for FilterValue
impl From<String> for FilterValue
Source§fn from(value: String) -> FilterValue
fn from(value: String) -> FilterValue
Converts to this type from the input type.
Source§impl<T> From<Vec<T>> for FilterValuewhere
T: Into<FilterValue>,
impl<T> From<Vec<T>> for FilterValuewhere
T: Into<FilterValue>,
Source§fn from(vec: Vec<T>) -> FilterValue
fn from(vec: Vec<T>) -> FilterValue
Converts to this type from the input type.
Source§impl From<bool> for FilterValue
impl From<bool> for FilterValue
Source§fn from(value: bool) -> FilterValue
fn from(value: bool) -> FilterValue
Converts to this type from the input type.
Source§impl From<f32> for FilterValue
impl From<f32> for FilterValue
Source§fn from(value: f32) -> FilterValue
fn from(value: f32) -> FilterValue
Converts to this type from the input type.
Source§impl From<f64> for FilterValue
impl From<f64> for FilterValue
Source§fn from(value: f64) -> FilterValue
fn from(value: f64) -> FilterValue
Converts to this type from the input type.
Source§impl From<i16> for FilterValue
impl From<i16> for FilterValue
Source§fn from(value: i16) -> FilterValue
fn from(value: i16) -> FilterValue
Converts to this type from the input type.
Source§impl From<i32> for FilterValue
impl From<i32> for FilterValue
Source§fn from(value: i32) -> FilterValue
fn from(value: i32) -> FilterValue
Converts to this type from the input type.
Source§impl From<i64> for FilterValue
impl From<i64> for FilterValue
Source§fn from(value: i64) -> FilterValue
fn from(value: i64) -> FilterValue
Converts to this type from the input type.
Source§impl From<i8> for FilterValue
impl From<i8> for FilterValue
Source§fn from(value: i8) -> FilterValue
fn from(value: i8) -> FilterValue
Converts to this type from the input type.
Source§impl From<isize> for FilterValue
impl From<isize> for FilterValue
Source§fn from(value: isize) -> FilterValue
fn from(value: isize) -> FilterValue
Converts to this type from the input type.
Source§impl From<u16> for FilterValue
impl From<u16> for FilterValue
Source§fn from(value: u16) -> FilterValue
fn from(value: u16) -> FilterValue
Converts to this type from the input type.
Source§impl From<u32> for FilterValue
impl From<u32> for FilterValue
Source§fn from(value: u32) -> FilterValue
fn from(value: u32) -> FilterValue
Converts to this type from the input type.
Source§impl From<u64> for FilterValue
impl From<u64> for FilterValue
Source§fn from(value: u64) -> FilterValue
fn from(value: u64) -> FilterValue
Converts to this type from the input type.
Source§impl From<u8> for FilterValue
impl From<u8> for FilterValue
Source§fn from(value: u8) -> FilterValue
fn from(value: u8) -> FilterValue
Converts to this type from the input type.
Source§impl From<usize> for FilterValue
impl From<usize> for FilterValue
Source§fn from(value: usize) -> FilterValue
fn from(value: usize) -> FilterValue
Converts to this type from the input type.
Source§impl PartialEq for FilterValue
impl PartialEq for FilterValue
impl StructuralPartialEq for FilterValue
Auto Trait Implementations§
impl Freeze for FilterValue
impl RefUnwindSafe for FilterValue
impl Send for FilterValue
impl Sync for FilterValue
impl Unpin for FilterValue
impl UnwindSafe for FilterValue
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