pub struct NullableStringComparator {Show 17 fields
pub eq: Option<String>,
pub neq: Option<String>,
pub in: Option<Vec<String>>,
pub nin: Option<Vec<String>>,
pub null: Option<bool>,
pub eq_ignore_case: Option<String>,
pub neq_ignore_case: Option<String>,
pub starts_with: Option<String>,
pub starts_with_ignore_case: Option<String>,
pub not_starts_with: Option<String>,
pub ends_with: Option<String>,
pub not_ends_with: Option<String>,
pub contains: Option<String>,
pub contains_ignore_case: Option<String>,
pub not_contains: Option<String>,
pub not_contains_ignore_case: Option<String>,
pub contains_ignore_case_and_accent: Option<String>,
}Expand description
Comparator for optional strings.
Fields§
§eq: Option<String>Equals constraint.
neq: Option<String>Not-equals constraint.
in: Option<Vec<String>>In-array constraint.
nin: Option<Vec<String>>Not-in-array constraint.
null: Option<bool>Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values.
eq_ignore_case: Option<String>Equals case insensitive. Matches any values that matches the given string case insensitive.
neq_ignore_case: Option<String>Not-equals case insensitive. Matches any values that don’t match the given string case insensitive.
starts_with: Option<String>Starts with constraint. Matches any values that start with the given string.
starts_with_ignore_case: Option<String>Starts with case insensitive constraint. Matches any values that start with the given string.
not_starts_with: Option<String>Doesn’t start with constraint. Matches any values that don’t start with the given string.
ends_with: Option<String>Ends with constraint. Matches any values that end with the given string.
not_ends_with: Option<String>Doesn’t end with constraint. Matches any values that don’t end with the given string.
contains: Option<String>Contains constraint. Matches any values that contain the given string.
contains_ignore_case: Option<String>Contains case insensitive constraint. Matches any values that contain the given string case insensitive.
not_contains: Option<String>Doesn’t contain constraint. Matches any values that don’t contain the given string.
not_contains_ignore_case: Option<String>Doesn’t contain case insensitive constraint. Matches any values that don’t contain the given string case insensitive.
contains_ignore_case_and_accent: Option<String>Contains case and accent insensitive constraint. Matches any values that contain the given string case and accent insensitive.
Trait Implementations§
Source§impl Clone for NullableStringComparator
impl Clone for NullableStringComparator
Source§fn clone(&self) -> NullableStringComparator
fn clone(&self) -> NullableStringComparator
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more