pub enum Relation {
Eq(Value),
Gt(Value),
Gte(Value),
Lt(Value),
Lte(Value),
In(Vec<Value>),
}
Variants§
Implementations§
Source§impl Relation
impl Relation
pub fn eq<V: Into<Value>>(x: V) -> Self
pub fn gt<V: Into<Value>>(x: V) -> Self
pub fn gte<V: Into<Value>>(x: V) -> Self
pub fn lt<V: Into<Value>>(x: V) -> Self
pub fn lte<V: Into<Value>>(x: V) -> Self
pub fn in_<V: Into<Value>>(x: Vec<V>) -> Self
pub fn satisfied_by<V: Into<Value>>(&self, x: V) -> bool
Trait Implementations§
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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