pub struct ComparisonNode {
pub field: String,
pub operator: String,
pub value: Option<Value>,
pub field_mutators: Option<Vec<Mutator>>,
pub value_mutators: Option<Vec<Mutator>>,
pub type_hint: Option<String>,
}Expand description
Comparison node: field operator value
Fields§
§field: StringField name (may include dots for nested access)
operator: StringComparison operator (eq, ne, gt, contains, etc.)
value: Option<Value>Expected value (None for exists/not_exists operators)
field_mutators: Option<Vec<Mutator>>Field mutators (transformations applied to field)
value_mutators: Option<Vec<Mutator>>Value mutators (transformations applied to value)
type_hint: Option<String>Type hint for the field
Trait Implementations§
Source§impl Clone for ComparisonNode
impl Clone for ComparisonNode
Source§fn clone(&self) -> ComparisonNode
fn clone(&self) -> ComparisonNode
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 ComparisonNode
impl Debug for ComparisonNode
Source§impl<'de> Deserialize<'de> for ComparisonNode
impl<'de> Deserialize<'de> for ComparisonNode
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 ComparisonNode
impl PartialEq for ComparisonNode
Source§impl Serialize for ComparisonNode
impl Serialize for ComparisonNode
impl StructuralPartialEq for ComparisonNode
Auto Trait Implementations§
impl Freeze for ComparisonNode
impl RefUnwindSafe for ComparisonNode
impl Send for ComparisonNode
impl Sync for ComparisonNode
impl Unpin for ComparisonNode
impl UnwindSafe for ComparisonNode
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