pub enum EffectiveQuery {
Whole(String),
Items(BTreeMap<String, Option<String>>),
}Expand description
A ? constraint reduced to its comparable form.
Variants§
Whole(String)
One pattern matched against the whole query string.
Items(BTreeMap<String, Option<String>>)
Named predicates, all of which must hold. None marks a predicate Apple ignores, which
makes the whole dictionary inert.
Trait Implementations§
Source§impl Clone for EffectiveQuery
impl Clone for EffectiveQuery
Source§fn clone(&self) -> EffectiveQuery
fn clone(&self) -> EffectiveQuery
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 moreSource§impl Debug for EffectiveQuery
impl Debug for EffectiveQuery
impl Eq for EffectiveQuery
Source§impl Ord for EffectiveQuery
impl Ord for EffectiveQuery
Source§fn cmp(&self, other: &EffectiveQuery) -> Ordering
fn cmp(&self, other: &EffectiveQuery) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EffectiveQuery
impl PartialEq for EffectiveQuery
Source§impl PartialOrd for EffectiveQuery
impl PartialOrd for EffectiveQuery
Source§impl Serialize for EffectiveQuery
impl Serialize for EffectiveQuery
impl StructuralPartialEq for EffectiveQuery
Auto Trait Implementations§
impl Freeze for EffectiveQuery
impl RefUnwindSafe for EffectiveQuery
impl Send for EffectiveQuery
impl Sync for EffectiveQuery
impl Unpin for EffectiveQuery
impl UnsafeUnpin for EffectiveQuery
impl UnwindSafe for EffectiveQuery
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