[][src]Function egg_mode::user::search

pub fn search<'a, S: Into<Cow<'a, str>>>(
    query: S,
    token: &Token
) -> UserSearch<'a>

Lookup users based on the given search term.

This function returns a stream over the TwitterUser objects returned by Twitter. Due to a limitation in the API, you can only obtain the first 1000 search results. This method defaults to returning 10 users in a single network call; the maximum is 20. See the UserSearch page for details.