#[non_exhaustive]pub struct NullableNumberComparator {
pub eq: Option<f64>,
pub neq: Option<f64>,
pub lt: Option<f64>,
pub lte: Option<f64>,
pub gt: Option<f64>,
pub gte: Option<f64>,
pub in: Option<Vec<f64>>,
pub nin: Option<Vec<f64>>,
pub null: Option<bool>,
}Expand description
Comparator for nullable number fields (e.g. priority, estimate).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.eq: Option<f64>Equals.
neq: Option<f64>Not equals.
lt: Option<f64>Less than.
lte: Option<f64>Less than or equal.
gt: Option<f64>Greater than.
gte: Option<f64>Greater than or equal.
in: Option<Vec<f64>>Value is in the given list.
nin: Option<Vec<f64>>Value is not in the given list.
null: Option<bool>Whether the value is null.
Implementations§
Source§impl NullableNumberComparator
impl NullableNumberComparator
Sourcepub fn builder() -> NullableNumberComparatorBuilder
pub fn builder() -> NullableNumberComparatorBuilder
Create an instance of NullableNumberComparator using the builder syntax
Trait Implementations§
Source§impl Clone for NullableNumberComparator
impl Clone for NullableNumberComparator
Source§fn clone(&self) -> NullableNumberComparator
fn clone(&self) -> NullableNumberComparator
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 NullableNumberComparator
impl Debug for NullableNumberComparator
Source§impl Default for NullableNumberComparator
impl Default for NullableNumberComparator
Source§fn default() -> NullableNumberComparator
fn default() -> NullableNumberComparator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NullableNumberComparator
impl RefUnwindSafe for NullableNumberComparator
impl Send for NullableNumberComparator
impl Sync for NullableNumberComparator
impl Unpin for NullableNumberComparator
impl UnsafeUnpin for NullableNumberComparator
impl UnwindSafe for NullableNumberComparator
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