var searchIndex = {}; searchIndex["egg_mode"] = {"doc":"A library for interacting with Twitter.","items":[[3,"Token","egg_mode","A key/secret pair representing an OAuth token.",null,null],[12,"key","","A key used to identify an application or user.",0,null],[12,"secret","","A private key used to sign messages from an application or user.",0,null],[3,"Response","","A helper struct to wrap response data with accompanying rate limit information.",null,null],[12,"rate_limit","","The rate limit ceiling for the given request.",1,null],[12,"rate_limit_remaining","","The number of requests left for the 15-minute window.",1,null],[12,"rate_limit_reset","","The UTC Unix timestamp at which the rate window resets.",1,null],[12,"response","","The decoded response from the request.",1,null],[3,"TwitterErrors","","Represents a collection of errors returned from a Twitter API call.",null,null],[12,"errors","","A collection of errors returned by Twitter.",2,null],[3,"TwitterErrorCode","","Represents a specific error returned from a Twitter API call.",null,null],[12,"message","","The error message returned by Twitter.",3,null],[12,"code","","The numeric error code returned by Twitter. A list of possible error codes can be found in\nthe [API documentation][error-codes].",3,null],[4,"UserID","","Convenience enum to generalize between referring to an account by numeric ID or by screen name.",null,null],[13,"ID","","Referring via the account's numeric ID.",4,null],[13,"ScreenName","","Referring via the account's screen name.",4,null],[5,"request_token","","With the given consumer Token, ask Twitter for a request Token that can be\nused to request access to the user's account.",null,{"inputs":[{"name":"token"},{"name":"s"}],"output":{"name":"result"}}],[5,"authorize_url","","With the given request Token, return a URL that a user can access to\naccept or reject an authorization request.",null,{"inputs":[{"name":"token"}],"output":{"name":"string"}}],[5,"authenticate_url","","With the given request Token, return a URL to redirect a user to so they\ncan accept or reject an authorization request.",null,{"inputs":[{"name":"token"}],"output":{"name":"string"}}],[5,"access_token","","With the given OAuth tokens and verifier, ask Twitter for an access\nToken that can be used to sign further requests to the Twitter API.",null,{"inputs":[{"name":"token"},{"name":"token"},{"name":"s"}],"output":{"name":"result"}}],[11,"new","","Creates a Token with the given key and secret.",0,{"inputs":[{"name":"k"},{"name":"s"}],"output":{"name":"token"}}],[0,"error","","A composite error type for errors that can occur while interacting with Twitter.",null,null],[4,"Error","egg_mode::error","A set of errors that can occur when interacting with Twitter.",null,null],[13,"InvalidResponse","","The response from Twitter was formatted incorrectly or in\nan unexpected manner.",5,null],[13,"MissingValue","","The response from Twitter was missing an expected value.\nThe enclosed value was the expected parameter.",5,null],[13,"TwitterError","","The response from Twitter returned an error structure\ninstead of the expected response. The enclosed value was\nthe response from Twitter.",5,null],[13,"BadStatus","","The response from Twitter gave a response code that\nindicated an error. The enclosed value was the response\ncode.",5,null],[13,"NetError","","The web request experienced an error. The enclosed value\nwas returned from hyper.",5,null],[13,"IOError","","An error was experienced while processing the response\nstream. The enclosed value was returned from libstd.",5,null],[13,"JSONError","","An error occurred while parsing the JSON resposne. The\nenclosed value was returned from rustc_serialize.",5,null],[13,"DecodeError","","An error occurred while loading the JSON response. The\nenclosed value was returned from rustc_serialize.",5,null],[11,"fmt","","",5,null],[11,"fmt","","",5,null],[11,"description","","",5,null],[11,"cause","","",5,null],[11,"from","","",5,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",5,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",5,{"inputs":[{"name":"parsererror"}],"output":{"name":"error"}}],[11,"from","","",5,{"inputs":[{"name":"decodererror"}],"output":{"name":"error"}}],[0,"user","egg_mode","Structs and methods for pulling user information from Twitter.",null,null],[3,"TwitterUser","egg_mode::user","Represents a Twitter user.",null,null],[12,"contributors_enabled","","Indicates this user has an account with "contributor mode" enabled, allowing\nfor Tweets issued by the user to be co-authored by another account. Rarely `true`.",6,null],[12,"created_at","","The UTC datetime that this user account was created on Twitter, formatted like "Tue Jan\n13 23:37:34 +0000 2015".",6,null],[12,"default_profile","","When true, indicates that this user has not altered the theme or background of\ntheir user profile.",6,null],[12,"default_profile_image","","When true, indicates that the user has not uploaded their own avatar and a default\negg avatar is used instead.",6,null],[12,"description","","The user-defined string describing their account.",6,null],[12,"favourites_count","","The number of tweets this user has favorited or liked in the account's lifetime.\nThe term "favourites" and its British spelling are used for historical reasons.",6,null],[12,"follow_request_sent","","When true, indicates that the authenticating user has issued a follow request to\nthis protected account.",6,null],[12,"followers_count","","The number of followers this account has.",6,null],[12,"friends_count","","The number of users this account follows, aka its "followings".",6,null],[12,"geo_enabled","","Indicates whether this user as enabled their tweets to be geotagged.",6,null],[12,"id","","Unique identifier for this user.",6,null],[12,"is_translator","","Indicates whether the user participates in Twitter's translator community.",6,null],[12,"lang","","Language code for the user's self-declared interface language.",6,null],[12,"listed_count","","The number of public lists the user is a member of.",6,null],[12,"location","","The user-entered location field from their profile. Not necessarily parseable\nor even a location.",6,null],[12,"name","","The user-entered display name.",6,null],[12,"profile_background_color","","The hex color chosen by the user for their profile background.",6,null],[12,"profile_background_image_url","","A URL pointing to the background image chosen by the user for their profile. Uses\nHTTP as the protocol.",6,null],[12,"profile_background_image_url_https","","A URL pointing to the background image chosen by the user for their profile. Uses\nHTTPS as the protocol.",6,null],[12,"profile_background_tile","","Indicates whether the user's `profile_background_image_url` should be tiled when\ndisplayed.",6,null],[12,"profile_banner_url","","A URL pointing to the banner image chosen by the user. Uses HTTPS as the protocol.",6,null],[12,"profile_image_url","","A URL pointing to the user's avatar image. Uses HTTP as the protocol. Size\nspecifiers can be used according to [Profile Images and Banners][profile-img].",6,null],[12,"profile_image_url_https","","A URL pointing to the user's avatar image. Uses HTTPS as the protocol. Size\nspecifiers can be used according to [Profile Images and Banners][profile-img].",6,null],[12,"profile_link_color","","The hex color chosen by the user to display links in the Twitter UI.",6,null],[12,"profile_sidebar_border_color","","The hex color chosen by the user to display sidebar borders in the Twitter UI.",6,null],[12,"profile_sidebar_fill_color","","The hex color chosen by the user to display sidebar backgrounds in the Twitter UI.",6,null],[12,"profile_text_color","","The hex color chosen by the user to display text in the Twitter UI.",6,null],[12,"profile_use_background_image","","Indicates whether the user wants their uploaded background image to be used.",6,null],[12,"protected","","Indicates whether the user is a [protected][] account.",6,null],[12,"screen_name","","The screen name or handle identifying this user.",6,null],[12,"show_all_inline_media","","Indicates that the user would like to see media inline. "Somewhat disused."",6,null],[12,"statuses_count","","The number of tweets (including retweets) posted by this user.",6,null],[12,"time_zone","","The full name of the time zone the user has set their UI preference to.",6,null],[12,"url","","The website link given by this user in their profile.",6,null],[12,"utc_offset","","The UTC offset of `time_zone` in minutes.",6,null],[12,"verified","","Indicates whether this user is a verified account.",6,null],[12,"withheld_in_countries","","When present, lists the countries this user has been withheld from.",6,null],[12,"withheld_scope","","When present, indicates whether the content being withheld is a "status" or "user".",6,null],[3,"UserSearch","","Represents an active user search.",null,null],[12,"page_num","","The current page of results being returned, starting at 1.",7,null],[12,"page_size","","The number of user records per page of results. Defaults to 10, maximum of 20.",7,null],[3,"UserCursor","","Represents a single-page view into a list of users.",null,null],[12,"previous_cursor","","Numeric reference to the previous page of results.",8,null],[12,"next_cursor","","Numeric reference to the next page of results.",8,null],[12,"users","","The list of users in this page of results.",8,null],[3,"UserLoader","","Represents a paginated list of users, such as the list of users who follow or are followed by a\nspecific user.",null,null],[12,"page_size","","The number of users returned in one network call.",9,null],[12,"previous_cursor","","Numeric reference to the previous page of results.",9,null],[12,"next_cursor","","Numeric reference to the next page of results.",9,null],[3,"IDCursor","","Represents a single-page view into a list of user IDs.",null,null],[12,"previous_cursor","","Numeric reference to the previous page of results.",10,null],[12,"next_cursor","","Numeric reference to the next page of results.",10,null],[12,"ids","","The list of user IDs in this page of results.",10,null],[3,"IDLoader","","Represents a paginated list of user IDs, such as the list of users who follow or are followed by\na specific user.",null,null],[12,"page_size","","The number of users returned in one network call.",11,null],[12,"previous_cursor","","Numeric reference to the previous page of results.",11,null],[12,"next_cursor","","Numeric reference to the next page of results.",11,null],[5,"lookup_ids","","Lookup a set of Twitter users by their numerical ID.",null,null],[5,"lookup_names","","Lookup a set of Twitter users by their screen name.",null,null],[5,"lookup","","Lookup a set of Twitter users by both ID and screen name, as applicable.",null,null],[5,"show","","Lookup user information for a single user.",null,{"inputs":[{"name":"t"},{"name":"token"},{"name":"token"}],"output":{"name":"result"}}],[5,"search","","Lookup users based on the given search term.",null,{"inputs":[{"name":"str"},{"name":"token"},{"name":"token"}],"output":{"name":"usersearch"}}],[5,"friends_of","","Lookup the users a given account follows, also called their "friends" within the API.",null,{"inputs":[{"name":"t"},{"name":"token"},{"name":"token"}],"output":{"name":"userloader"}}],[5,"friends_ids","","Lookup the users a given account follows, also called their "friends" within the API, but only\nreturn their user IDs.",null,{"inputs":[{"name":"t"},{"name":"token"},{"name":"token"}],"output":{"name":"idloader"}}],[5,"followers_of","","Lookup the users that follow a given account.",null,{"inputs":[{"name":"t"},{"name":"token"},{"name":"token"}],"output":{"name":"userloader"}}],[5,"followers_ids","","Lookup the users that follow a given account, but only return their user IDs.",null,{"inputs":[{"name":"t"},{"name":"token"},{"name":"token"}],"output":{"name":"idloader"}}],[5,"blocks","","Lookup the users that have been blocked by the authenticated user.",null,{"inputs":[{"name":"token"},{"name":"token"}],"output":{"name":"userloader"}}],[5,"blocks_ids","","Lookup the users that have been blocked by the authenticated user, but only return their user\nIDs.",null,{"inputs":[{"name":"token"},{"name":"token"}],"output":{"name":"idloader"}}],[11,"fmt","","",6,null],[11,"with_page_size","","Sets the page size used for the search query.",7,null],[11,"start_at_page","","Sets the starting page number for the search query.",7,null],[11,"call","","Performs the search for the current page of results.",7,null],[11,"next","","",7,null],[11,"with_page_size","","Sets the number of results returned in a single network call.",9,null],[11,"call","","Loads the next page of results.",9,null],[11,"next","","",9,null],[11,"with_page_size","","Sets the number of results returned in a single network call.",11,null],[11,"call","","Loads the next page of results.",11,null],[11,"next","","",11,null],[11,"from","egg_mode","",4,{"inputs":[{"name":"i64"}],"output":{"name":"userid"}}],[11,"from","","",4,{"inputs":[{"name":"str"}],"output":{"name":"userid"}}],[11,"fmt","","",1,null],[11,"into_iter","","",1,null],[11,"from_iter","","",1,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"encode","","",2,null],[11,"decode","","",2,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[11,"encode","","",3,null],[11,"decode","","",3,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",3,null],[11,"fmt","","",3,null]],"paths":[[3,"Token"],[3,"Response"],[3,"TwitterErrors"],[3,"TwitterErrorCode"],[4,"UserID"],[4,"Error"],[3,"TwitterUser"],[3,"UserSearch"],[3,"UserCursor"],[3,"UserLoader"],[3,"IDCursor"],[3,"IDLoader"]]}; initSearch(searchIndex);