pub enum QueryRule {
Whole(String),
Items(BTreeMap<String, QueryPredicate>),
}Expand description
The ? key, which Apple allows to be either a pattern or a dictionary of predicates.
Variants§
Whole(String)
A single pattern matched against the whole query string.
Items(BTreeMap<String, QueryPredicate>)
Named predicates that must all be satisfied.
Trait Implementations§
impl Eq for QueryRule
impl StructuralPartialEq for QueryRule
Auto Trait Implementations§
impl Freeze for QueryRule
impl RefUnwindSafe for QueryRule
impl Send for QueryRule
impl Sync for QueryRule
impl Unpin for QueryRule
impl UnsafeUnpin for QueryRule
impl UnwindSafe for QueryRule
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