[−][src]Enum qualia::query::QueryNode
A node within a query tree.
For all but advanced cases, QueryBuilder
should be used
(via Q
) rather than creating QueryNode objects directly.
Variants
Will match all objects.
Will match objects that have the given property with exactly the given value.
Will match objects that the given property with contents matching the given pattern.
The pattern is composed of a set of words, each one of which must exist in order (though
there may be other words in between). Each word may be just an alphanumeric word or may
contain one or more *
's, each of which will match zero or more characters.
For example, the following patterns will match the property value "why the lucky stiff"
:
why
why lucky
why luck*
why luck*y
*tiff
the *ck*
while the following patterns will not:
wh
lucky why
matts
wha*
Will match all objects that match each of the contained criteria.
Trait Implementations
impl Debug for QueryNode
[src]
impl Into<QueryNode> for QueryBuilder
[src]
impl PartialEq<QueryNode> for QueryNode
[src]
impl StructuralPartialEq for QueryNode
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryNode
[src]
impl Send for QueryNode
[src]
impl Sync for QueryNode
[src]
impl Unpin for QueryNode
[src]
impl UnwindSafe for QueryNode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,