Struct fog_pack::query::Query[][src]

pub struct Query { /* fields omitted */ }

For querying Entries.

A Query contains a single validator and a key, which may be used for querying a set of Entries. Entries that pass the validator can be returned as the query results.

Queries are not meant to be used without associated context; they should be provided alongside information about what Document they are being used to query.

Implementations

impl Query[src]

pub fn validator(&self) -> &Validator[src]

pub fn key(&self) -> &str[src]

pub fn query(&self, entry: &Entry) -> Result<DataChecklist<'_, ()>>[src]

Trait Implementations

impl Clone for Query[src]

impl Debug for Query[src]

Auto Trait Implementations

impl RefUnwindSafe for Query

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,