pub enum Filter<_Value: NestedValue = IOValue> {
Nop,
Compare {
op: Box<Comparison>,
literal: _Value,
},
Regex {
regex: String,
},
Test {
pred: Box<Predicate<_Value>>,
},
Real,
Int,
Kind {
kind: Box<ValueKind>,
},
}Variants§
Trait Implementations§
Source§impl<_Value: NestedValue> Deserialize<_Value> for Filter<_Value>
impl<_Value: NestedValue> Deserialize<_Value> for Filter<_Value>
fn deserialize<'de, R: Reader<'de, _Value>>( r: &mut R, ) -> Result<Self, ParseError>
Source§impl<_Value: NestedValue> Domain for Filter<_Value>
impl<_Value: NestedValue> Domain for Filter<_Value>
impl<_Value: Eq + NestedValue> Eq for Filter<_Value>
Source§impl<_Value: Ord + NestedValue> Ord for Filter<_Value>
impl<_Value: Ord + NestedValue> Ord for Filter<_Value>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for Filter<_Value>
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for Filter<_Value>
Source§impl<_Value: PartialEq + NestedValue> PartialEq for Filter<_Value>
impl<_Value: PartialEq + NestedValue> PartialEq for Filter<_Value>
Source§impl<_Value: PartialOrd + NestedValue> PartialOrd for Filter<_Value>
impl<_Value: PartialOrd + NestedValue> PartialOrd for Filter<_Value>
impl<_Value: NestedValue> StructuralPartialEq for Filter<_Value>
Auto Trait Implementations§
impl<_Value> Freeze for Filter<_Value>where
_Value: Freeze,
impl<_Value> RefUnwindSafe for Filter<_Value>where
_Value: RefUnwindSafe,
impl<_Value> Send for Filter<_Value>where
_Value: Send,
impl<_Value> Sync for Filter<_Value>where
_Value: Sync,
impl<_Value> Unpin for Filter<_Value>where
_Value: Unpin,
impl<_Value> UnsafeUnpin for Filter<_Value>where
_Value: UnsafeUnpin,
impl<_Value> UnwindSafe for Filter<_Value>where
_Value: UnwindSafe,
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