pub enum RefinementPropertyPredicateV0 {
Any,
ExactValue {
property_name: String,
value: String,
},
OneOfValues {
property_name: String,
values: Vec<String>,
},
CustomPropertyReference {
property_name: String,
custom_property_name: String,
},
NumericRange {
property_name: String,
min_inclusive: Option<i64>,
max_inclusive: Option<i64>,
unit: Option<String>,
},
HasPseudoState {
property_name: String,
pseudo_state: String,
},
And {
predicates: Vec<RefinementPropertyPredicateV0>,
},
Or {
predicates: Vec<RefinementPropertyPredicateV0>,
},
Not {
predicate: Box<RefinementPropertyPredicateV0>,
},
}Variants§
Any
ExactValue
OneOfValues
CustomPropertyReference
NumericRange
Fields
HasPseudoState
And
Fields
§
predicates: Vec<RefinementPropertyPredicateV0>Or
Fields
§
predicates: Vec<RefinementPropertyPredicateV0>Not
Fields
§
predicate: Box<RefinementPropertyPredicateV0>Trait Implementations§
Source§impl Clone for RefinementPropertyPredicateV0
impl Clone for RefinementPropertyPredicateV0
Source§fn clone(&self) -> RefinementPropertyPredicateV0
fn clone(&self) -> RefinementPropertyPredicateV0
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 moreimpl Eq for RefinementPropertyPredicateV0
Source§impl PartialEq for RefinementPropertyPredicateV0
impl PartialEq for RefinementPropertyPredicateV0
Source§fn eq(&self, other: &RefinementPropertyPredicateV0) -> bool
fn eq(&self, other: &RefinementPropertyPredicateV0) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RefinementPropertyPredicateV0
Auto Trait Implementations§
impl Freeze for RefinementPropertyPredicateV0
impl RefUnwindSafe for RefinementPropertyPredicateV0
impl Send for RefinementPropertyPredicateV0
impl Sync for RefinementPropertyPredicateV0
impl Unpin for RefinementPropertyPredicateV0
impl UnsafeUnpin for RefinementPropertyPredicateV0
impl UnwindSafe for RefinementPropertyPredicateV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.