pub struct StringNullableFilter {Show 13 fields
pub equals: Option<String>,
pub not: Option<Box<StringNullableFilter>>,
pub in_list: Option<Vec<String>>,
pub not_in: Option<Vec<String>>,
pub lt: Option<String>,
pub lte: Option<String>,
pub gt: Option<String>,
pub gte: Option<String>,
pub contains: Option<String>,
pub starts_with: Option<String>,
pub ends_with: Option<String>,
pub mode: Option<QueryMode>,
pub is_null: Option<bool>,
}Expand description
Filter operators for a nullable String column.
Fields§
§equals: Option<String>column = value
not: Option<Box<StringNullableFilter>>Negation of the inner filter.
in_list: Option<Vec<String>>column IN (...)
not_in: Option<Vec<String>>column NOT IN (...)
lt: Option<String>column < value
lte: Option<String>column <= value
gt: Option<String>column > value
gte: Option<String>column >= value
contains: Option<String>column LIKE %value%
starts_with: Option<String>column LIKE value%
ends_with: Option<String>column LIKE %value
mode: Option<QueryMode>Comparison mode.
is_null: Option<bool>is_null: Some(true) => IS NULL; Some(false) => IS NOT NULL.
Trait Implementations§
Source§impl Clone for StringNullableFilter
impl Clone for StringNullableFilter
Source§fn clone(&self) -> StringNullableFilter
fn clone(&self) -> StringNullableFilter
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 StringNullableFilter
impl Debug for StringNullableFilter
Source§impl Default for StringNullableFilter
impl Default for StringNullableFilter
Source§fn default() -> StringNullableFilter
fn default() -> StringNullableFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringNullableFilter
impl<'de> Deserialize<'de> for StringNullableFilter
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
Source§impl From<&str> for StringNullableFilter
impl From<&str> for StringNullableFilter
Source§impl From<String> for StringNullableFilter
impl From<String> for StringNullableFilter
Source§impl PartialEq for StringNullableFilter
impl PartialEq for StringNullableFilter
Source§fn eq(&self, other: &StringNullableFilter) -> bool
fn eq(&self, other: &StringNullableFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ScalarFilter for StringNullableFilter
impl ScalarFilter for StringNullableFilter
Source§impl Serialize for StringNullableFilter
impl Serialize for StringNullableFilter
impl Eq for StringNullableFilter
impl StructuralPartialEq for StringNullableFilter
Auto Trait Implementations§
impl Freeze for StringNullableFilter
impl RefUnwindSafe for StringNullableFilter
impl Send for StringNullableFilter
impl Sync for StringNullableFilter
impl Unpin for StringNullableFilter
impl UnsafeUnpin for StringNullableFilter
impl UnwindSafe for StringNullableFilter
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