pub struct RowFilters {
pub payload: [Option<Vec<u8>>; 5],
pub compare: Option<[String; 3]>,
pub length: Option<(String, String, u32)>,
pub present: Option<String>,
pub absent: Option<String>,
pub text: Option<[String; 3]>,
pub boolean: Option<(String, bool)>,
pub between_fields: Option<[String; 3]>,
pub not_between_fields: Option<[String; 3]>,
}Expand description
Row predicates carried by the local query and retained-aggregate commands.
Fields§
§payload: [Option<Vec<u8>>; 5]Lower bound, upper bound, prefix, suffix and substring on BinaryObject.payload.
compare: Option<[String; 3]>Left field, comparison, right field.
length: Option<(String, String, u32)>Field, comparison and length threshold.
present: Option<String>Require a value in this optional field.
absent: Option<String>Require absence in this optional field.
text: Option<[String; 3]>Field, comparison and exact UTF-8 literal.
boolean: Option<(String, bool)>Field and Boolean equality operand.
between_fields: Option<[String; 3]>Field, inclusive lower field and inclusive upper field.
not_between_fields: Option<[String; 3]>Field, lower field and upper field for the strict outside-range comparison.
Trait Implementations§
Source§impl Clone for RowFilters
impl Clone for RowFilters
Source§impl Debug for RowFilters
impl Debug for RowFilters
Source§impl Default for RowFilters
impl Default for RowFilters
Source§impl<'de> Deserialize<'de> for RowFilters
impl<'de> Deserialize<'de> for RowFilters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RowFilters
impl Freeze for RowFilters
impl Move for RowFilters
impl RefUnwindSafe for RowFilters
impl Send for RowFilters
impl Sync for RowFilters
impl Unpin for RowFilters
impl UnsafeUnpin for RowFilters
impl UnwindSafe for RowFilters
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