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

#[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]

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

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

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

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.

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.

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

Auto Trait Implementations

impl<'a> Send for SearchBuilder<'a>

impl<'a> Sync for SearchBuilder<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.