pub struct NewQuery { /* private fields */ }Expand description
A new Query, ready for encoding.
New queries must first be encoded by a schema, and can then be decoded later by that same
schema into a proper Query.
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§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewQuery
impl RefUnwindSafe for NewQuery
impl Send for NewQuery
impl Sync for NewQuery
impl Unpin for NewQuery
impl UnwindSafe for NewQuery
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