Struct egg_mode::search::SearchBuilder [] [src]

#[must_use = "SearchBuilder is lazy and won\'t do anything unless `call`ed"]
pub struct SearchBuilder<'a> { /* fields omitted */ }

Represents a tweet search query before being sent.

Methods

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

[src]

Restrict search results to those that have been machine-parsed as the given two-letter language code.

[src]

Specify the type of search results to include. The default is Recent.

[src]

Set the number of tweets to return per-page, up to a maximum of 100. The default is 15.

[src]

Returns tweets created before the given date. Keep in mind that search is limited to the last 7 days of results, so giving a date here that's older than a week will return no results.

[src]

Restricts results to users located within the given radius of the given coordinate. This is preferably populated from location-tagged tweets, but can be filled in from the user's profile as a fallback.

[src]

Restricts results to those with higher IDs than (i.e. that were posted after) the given tweet ID.

[src]

Restricts results to those with IDs no higher than (i.e. were posted earlier than) the given tweet ID. Will include the given tweet in search results.

[src]

Finalize the search terms and return the first page of responses.