Struct egg_mode::search::SearchResult [] [src]

pub struct SearchResult<'a> {
    pub statuses: Vec<Tweet>,
    pub query: String,
    pub max_id: u64,
    pub since_id: u64,
    // some fields omitted
}

Represents a page of search results, along with metadata to request the next or previous page.

Fields

The list of statuses in this page of results.

The query used to generate this page of results. Note that changing this will not affect the next_page method.

Last tweet id in this page of results. This id can be used in SearchBuilder::since_tweet

First tweet id in this page of results. This id can be used in SearchBuilder::since_tweet

Methods

impl<'a> SearchResult<'a>
[src]

[src]

Load the next page of search results for the same query.

[src]

Load the previous page of search results for the same query.

Trait Implementations

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

[src]

Formats the value using the given formatter.