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

Search query. May contains booleans, etc.

Return matches sorted by either score or timestamp.

Change sort direction to ascending (asc) or descending (desc).

Pass a value of true to enable query highlight markers (see below).

Number of items to return per page.

Page number of results to return.

Trait Implementations

impl<'a> Clone for AllRequest<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Default for AllRequest<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Debug for AllRequest<'a>
[src]

Formats the value using the given formatter.