pub struct CollectionOpNode {
pub operator: String,
pub field: String,
pub comparison_operator: String,
pub value: Value,
pub field_mutators: Option<Vec<Mutator>>,
pub type_hint: Option<String>,
}Expand description
Collection operation node: ANY/ALL/NONE field op value
Fields§
§operator: StringCollection operator (any, all, none, not_any, not_all, not_none)
field: StringField name (should be an array/list field)
comparison_operator: StringComparison operator to apply to elements
value: ValueValue to compare against
field_mutators: Option<Vec<Mutator>>Field mutators
type_hint: Option<String>Type hint
Trait Implementations§
Source§impl Clone for CollectionOpNode
impl Clone for CollectionOpNode
Source§fn clone(&self) -> CollectionOpNode
fn clone(&self) -> CollectionOpNode
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 CollectionOpNode
impl Debug for CollectionOpNode
Source§impl<'de> Deserialize<'de> for CollectionOpNode
impl<'de> Deserialize<'de> for CollectionOpNode
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 CollectionOpNode
impl PartialEq for CollectionOpNode
Source§impl Serialize for CollectionOpNode
impl Serialize for CollectionOpNode
impl StructuralPartialEq for CollectionOpNode
Auto Trait Implementations§
impl Freeze for CollectionOpNode
impl RefUnwindSafe for CollectionOpNode
impl Send for CollectionOpNode
impl Sync for CollectionOpNode
impl Unpin for CollectionOpNode
impl UnwindSafe for CollectionOpNode
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