pub struct StringFilterInput {
pub eq: Option<String>,
pub neq: Option<String>,
pub like: Option<String>,
pub ilike: Option<String>,
pub in_list: Option<Vec<String>>,
pub is_null: Option<bool>,
pub starts_with: Option<String>,
pub ends_with: Option<String>,
pub contains: Option<String>,
}Expand description
Filter input for String fields.
Fields§
§eq: Option<String>Equals
neq: Option<String>Not equals
like: Option<String>LIKE pattern match (case-sensitive)
ilike: Option<String>ILIKE pattern match (case-insensitive)
in_list: Option<Vec<String>>In list
is_null: Option<bool>Is null check
starts_with: Option<String>Starts with
ends_with: Option<String>Ends with
contains: Option<String>Contains
Implementations§
Trait Implementations§
Source§impl Clone for StringFilterInput
impl Clone for StringFilterInput
Source§fn clone(&self) -> StringFilterInput
fn clone(&self) -> StringFilterInput
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 StringFilterInput
impl Debug for StringFilterInput
Source§impl Default for StringFilterInput
impl Default for StringFilterInput
Source§fn default() -> StringFilterInput
fn default() -> StringFilterInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringFilterInput
impl<'de> Deserialize<'de> for StringFilterInput
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 Freeze for StringFilterInput
impl RefUnwindSafe for StringFilterInput
impl Send for StringFilterInput
impl Sync for StringFilterInput
impl Unpin for StringFilterInput
impl UnwindSafe for StringFilterInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more