pub struct DecimalNullableFilter {
pub equals: Option<Decimal>,
pub not: Option<Box<DecimalNullableFilter>>,
pub in_list: Option<Vec<Decimal>>,
pub not_in: Option<Vec<Decimal>>,
pub lt: Option<Decimal>,
pub lte: Option<Decimal>,
pub gt: Option<Decimal>,
pub gte: Option<Decimal>,
pub is_null: Option<bool>,
}Expand description
Filter for nullable Decimal columns.
Fields§
§equals: Option<Decimal>column = value
not: Option<Box<DecimalNullableFilter>>Negation.
in_list: Option<Vec<Decimal>>column IN (...)
not_in: Option<Vec<Decimal>>column NOT IN (...)
lt: Option<Decimal>column < value
lte: Option<Decimal>column <= value
gt: Option<Decimal>column > value
gte: Option<Decimal>column >= value
is_null: Option<bool>IS NULL / IS NOT NULL.
Trait Implementations§
Source§impl Clone for DecimalNullableFilter
impl Clone for DecimalNullableFilter
Source§fn clone(&self) -> DecimalNullableFilter
fn clone(&self) -> DecimalNullableFilter
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 DecimalNullableFilter
impl Debug for DecimalNullableFilter
Source§impl Default for DecimalNullableFilter
impl Default for DecimalNullableFilter
Source§fn default() -> DecimalNullableFilter
fn default() -> DecimalNullableFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecimalNullableFilter
impl<'de> Deserialize<'de> for DecimalNullableFilter
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 PartialEq for DecimalNullableFilter
impl PartialEq for DecimalNullableFilter
Source§fn eq(&self, other: &DecimalNullableFilter) -> bool
fn eq(&self, other: &DecimalNullableFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ScalarFilter for DecimalNullableFilter
impl ScalarFilter for DecimalNullableFilter
Source§impl Serialize for DecimalNullableFilter
impl Serialize for DecimalNullableFilter
impl StructuralPartialEq for DecimalNullableFilter
Auto Trait Implementations§
impl Freeze for DecimalNullableFilter
impl RefUnwindSafe for DecimalNullableFilter
impl Send for DecimalNullableFilter
impl Sync for DecimalNullableFilter
impl Unpin for DecimalNullableFilter
impl UnsafeUnpin for DecimalNullableFilter
impl UnwindSafe for DecimalNullableFilter
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