pub enum PropertyPredicate {
GreaterThan(String, f32),
LessThan(String, f32),
EqualsBool(String, bool),
EqualsEnum(String, String),
}Expand description
Predicate for property-based rule evaluation.
Variants§
Trait Implementations§
Source§impl Clone for PropertyPredicate
impl Clone for PropertyPredicate
Source§fn clone(&self) -> PropertyPredicate
fn clone(&self) -> PropertyPredicate
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 PropertyPredicate
impl Debug for PropertyPredicate
Source§impl<'de> Deserialize<'de> for PropertyPredicate
impl<'de> Deserialize<'de> for PropertyPredicate
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
Auto Trait Implementations§
impl Freeze for PropertyPredicate
impl RefUnwindSafe for PropertyPredicate
impl Send for PropertyPredicate
impl Sync for PropertyPredicate
impl Unpin for PropertyPredicate
impl UnsafeUnpin for PropertyPredicate
impl UnwindSafe for PropertyPredicate
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