Struct notmuch::query::Query
[−]
[src]
pub struct Query<'d>(_, _);
Methods
impl<'d> Query<'d>
[src]
pub fn create(db: &'d Database, query_string: &String) -> Result<Self>
[src]
pub fn set_sort(&self, sort: Sort)
[src]
Specify the sorting desired for this query.
pub fn sort(&self) -> Sort
[src]
Return the sort specified for this query. See
set_sort
.
pub fn search_messages(&self) -> Result<Option<Messages>>
[src]
Filter messages according to the query and return
Trait Implementations
impl<'d> Debug for Query<'d>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more