Struct slack_api::search::AllRequest
[−]
[src]
pub struct AllRequest<'a> {
pub query: &'a str,
pub sort: Option<&'a str>,
pub sort_dir: Option<&'a str>,
pub highlight: Option<bool>,
pub count: Option<u32>,
pub page: Option<u32>,
}Fields
query: &'a str
Search query. May contains booleans, etc.
sort: Option<&'a str>
Return matches sorted by either score or timestamp.
sort_dir: Option<&'a str>
Change sort direction to ascending (asc) or descending (desc).
highlight: Option<bool>
Pass a value of true to enable query highlight markers (see below).
count: Option<u32>
Number of items to return per page.
page: Option<u32>
Page number of results to return.
Trait Implementations
impl<'a> Clone for AllRequest<'a>[src]
fn clone(&self) -> AllRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Default for AllRequest<'a>[src]
fn default() -> AllRequest<'a>
Returns the "default value" for a type. Read more