Struct serenity::model::SearchResult [] [src]

pub struct SearchResult {
    pub results: Vec<Vec<Message>>,
    pub total: u64,
}

The results of a search, including the total results and a vector of messages.

Fields

An array of messages returned from the search. Note that this is an array of an array of messages. Each "set" of messages is the "found" message, as well as surrounding messages for context.

The number of messages directly related to the search. This does not count messages returned for context.

Trait Implementations

impl Clone for SearchResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SearchResult
[src]

Formats the value using the given formatter.