pub struct FieldCondition {
pub path: Vec<PathSegment>,
pub op: MatchOp,
pub value: String,
}Expand description
A single field-level predicate: path op "value".
Fields§
§path: Vec<PathSegment>Dotted path to the JSON field.
op: MatchOpComparison operator.
value: StringPattern or literal value to compare against.
Trait Implementations§
Source§impl Clone for FieldCondition
impl Clone for FieldCondition
Source§fn clone(&self) -> FieldCondition
fn clone(&self) -> FieldCondition
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 FieldCondition
impl Debug for FieldCondition
Source§impl Display for FieldCondition
impl Display for FieldCondition
impl Eq for FieldCondition
Source§impl PartialEq for FieldCondition
impl PartialEq for FieldCondition
Source§fn eq(&self, other: &FieldCondition) -> bool
fn eq(&self, other: &FieldCondition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldCondition
Auto Trait Implementations§
impl Freeze for FieldCondition
impl RefUnwindSafe for FieldCondition
impl Send for FieldCondition
impl Sync for FieldCondition
impl Unpin for FieldCondition
impl UnsafeUnpin for FieldCondition
impl UnwindSafe for FieldCondition
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