var searchIndex = {}; searchIndex["gsbrs"] = {"doc":"","items":[[3,"GSBClient","gsbrs","A client for interacting with the Google Safe Browsing Lookup API",null,null],[4,"Status","","Status represents each list a URL may be found in as well as a value,\n'Ok', which is used as a placeholder when the URL is not found in any\nlist. 'Ok' is only used in bulk queries.",null,null],[13,"Ok","","",0,null],[13,"Phishing","","",0,null],[13,"Malware","","",0,null],[13,"Unwanted","","",0,null],[0,"gsberror","","",null,null],[4,"GSBError","gsbrs::gsberror","",null,null],[13,"Network","","",1,null],[13,"TooManyUrls","","",1,null],[13,"MalformedMessage","","",1,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"gsberror"}}],[11,"fmt","gsbrs","",0,null],[11,"fmt","","",2,null],[11,"new","","Creates a new GSBClient that will use 'key' as the GSB API key",2,{"inputs":[{"name":"string"}],"output":{"name":"gsbclient"}}],[11,"change_client_name","","Sets the GSBClient client_name to 'client_name'\nGSBClient uses 'gsbrs' as the client_name by default.",2,null],[11,"lookup","","Queries GSB API with 'url', returns Vec of Status for 'url'",2,null],[11,"lookup_all","","Perform a bulk lookup on an iterable of urls.\nReturns a Vector of Vectors containing Statuses.\nReturns GSBError::TooManyUrls if > 500 urls are pased in",2,null]],"paths":[[4,"Status"],[4,"GSBError"],[3,"GSBClient"]]}; initSearch(searchIndex);