pub struct QueryPredicate {
pub key: String,
pub value: Box<QueryPredicateValue>,
pub operator: Operator,
}Fields§
§key: String§value: Box<QueryPredicateValue>§operator: OperatorImplementations§
Source§impl QueryPredicate
impl QueryPredicate
pub fn new( key: String, value: QueryPredicateValue, operator: Operator, ) -> QueryPredicate
Trait Implementations§
Source§impl Clone for QueryPredicate
impl Clone for QueryPredicate
Source§fn clone(&self) -> QueryPredicate
fn clone(&self) -> QueryPredicate
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 QueryPredicate
impl Debug for QueryPredicate
Source§impl Default for QueryPredicate
impl Default for QueryPredicate
Source§fn default() -> QueryPredicate
fn default() -> QueryPredicate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryPredicate
impl<'de> Deserialize<'de> for QueryPredicate
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
Source§impl PartialEq for QueryPredicate
impl PartialEq for QueryPredicate
Source§impl Serialize for QueryPredicate
impl Serialize for QueryPredicate
impl StructuralPartialEq for QueryPredicate
Auto Trait Implementations§
impl Freeze for QueryPredicate
impl RefUnwindSafe for QueryPredicate
impl Send for QueryPredicate
impl Sync for QueryPredicate
impl Unpin for QueryPredicate
impl UnwindSafe for QueryPredicate
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