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
results: Vec<Vec<Message>>
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.
total: u64
The number of messages directly related to the search. This does not count messages returned for context.
Trait Implementations
impl Clone for SearchResult
[src]
fn clone(&self) -> SearchResult
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