pub struct ComparisonFilter {
pub key: String,
pub _type: String,
pub value: Value,
}
Fields§
§key: String
The key to compare against the value.
_type: String
Specifies the comparison operator: eq
, ne
, gt
, gte
, lt
, lte
. - eq
: equals - ne
: not equal - gt
: greater than - gte
: greater than or equal - lt
: less than - lte
: less than or equal
value: Value
The value to compare against the attribute key; supports string, number, or boolean types.
Trait Implementations§
Source§impl Debug for ComparisonFilter
impl Debug for ComparisonFilter
Source§impl<'de> Deserialize<'de> for ComparisonFilter
impl<'de> Deserialize<'de> for ComparisonFilter
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 ComparisonFilter
impl RefUnwindSafe for ComparisonFilter
impl Send for ComparisonFilter
impl Sync for ComparisonFilter
impl Unpin for ComparisonFilter
impl UnwindSafe for ComparisonFilter
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