pub struct NullableDateComparator {
pub eq: Option<Value>,
pub neq: Option<Value>,
pub in: Option<Vec<Value>>,
pub nin: Option<Vec<Value>>,
pub null: Option<bool>,
pub lt: Option<Value>,
pub lte: Option<Value>,
pub gt: Option<Value>,
pub gte: Option<Value>,
}Expand description
Comparator for optional dates.
Fields§
§eq: Option<Value>Equals constraint.
neq: Option<Value>Not-equals constraint.
in: Option<Vec<Value>>In-array constraint.
nin: Option<Vec<Value>>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.
lt: Option<Value>Less-than constraint. Matches any values that are less than the given value.
lte: Option<Value>Less-than-or-equal constraint. Matches any values that are less than or equal to the given value.
gt: Option<Value>Greater-than constraint. Matches any values that are greater than the given value.
gte: Option<Value>Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value.
Trait Implementations§
Source§impl Clone for NullableDateComparator
impl Clone for NullableDateComparator
Source§fn clone(&self) -> NullableDateComparator
fn clone(&self) -> NullableDateComparator
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 NullableDateComparator
impl Debug for NullableDateComparator
Source§impl Default for NullableDateComparator
impl Default for NullableDateComparator
Source§fn default() -> NullableDateComparator
fn default() -> NullableDateComparator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableDateComparator
impl<'de> Deserialize<'de> for NullableDateComparator
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 NullableDateComparator
impl RefUnwindSafe for NullableDateComparator
impl Send for NullableDateComparator
impl Sync for NullableDateComparator
impl Unpin for NullableDateComparator
impl UnwindSafe for NullableDateComparator
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