pub fn parse(input: impl AsRef<str>) -> Result<SearchEmailsQuery, Error>Available on crate feature
search only.Expand description
Parses input into a SearchEmailsQuery.
Because of the recursive nature of SearchEmailsFilterQuery, the
string is splitted around the "order by" keyword and the two
halves are parsed separately. A query string can be filter-only,
sort-only, or filter then sort.
See filter::parser::query for the filter grammar and
sort::parser::query for the sort grammar.