var searchIndex = {}; searchIndex["fractal_utils"] = {"doc":"This crate contains utilities to work with Fractal Global Credits. It contains the wallet\naddress representation and the currency amount type. Each of them is explained in its own\ndocumentation and can be easily used by third parties.","items":[[0,"amount","fractal_utils","Fractal Global Credits amount",null,null],[3,"Amount","fractal_utils::amount","Fractal Global Credits amount",null,null],[3,"AmountParseError","","Amount parsing error.",null,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"from_repr","","Creates a new amount from its internal representation.",0,{"inputs":[{"name":"u64"}],"output":{"name":"amount"}}],[11,"get_repr","","Gets the internal representation of the amount.",0,null],[11,"min_value","","Returns the smallest value that can be represented as a currency amount.",0,{"inputs":[],"output":{"name":"amount"}}],[11,"max_value","","Returns the largest value that can be represented as a currency amount.",0,{"inputs":[],"output":{"name":"amount"}}],[11,"fmt","","",0,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"from_str","","",0,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",0,null],[11,"encode","","",0,null],[11,"decode","","",0,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"div","","",0,null],[11,"div_assign","","",0,null],[11,"rem","","",0,null],[11,"rem_assign","","",0,null],[11,"mul","","",0,null],[11,"mul_assign","","",0,null],[11,"div","","",0,null],[11,"div_assign","","",0,null],[11,"rem","","",0,null],[11,"rem_assign","","",0,null],[11,"mul","","",0,null],[11,"mul_assign","","",0,null],[11,"div","","",0,null],[11,"div_assign","","",0,null],[11,"rem","","",0,null],[11,"rem_assign","","",0,null],[11,"mul","","",0,null],[11,"mul_assign","","",0,null],[11,"div","","",0,null],[11,"div_assign","","",0,null],[11,"rem","","",0,null],[11,"rem_assign","","",0,null],[11,"mul","","",0,null],[11,"mul_assign","","",0,null],[11,"div","","",0,null],[11,"div_assign","","",0,null],[11,"rem","","",0,null],[11,"rem_assign","","",0,null],[11,"mul","","",0,null],[11,"mul_assign","","",0,null],[11,"add","","",0,null],[11,"add_assign","","",0,null],[11,"sub","","",0,null],[11,"sub_assign","","",0,null],[0,"wallet_address","fractal_utils","Fractal Global Wallet Address",null,null],[3,"WalletAddress","fractal_utils::wallet_address","The object representation of a wallet address.",null,null],[3,"WalletAddressParseError","","Wallet address parsing error.",null,null],[17,"WALLET_ADDRESS_LEN","","The wallet address size.",null,null],[11,"decode","","",2,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"encode","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"cmp","","",2,null],[11,"partial_cmp","","",2,null],[11,"lt","","",2,null],[11,"le","","",2,null],[11,"gt","","",2,null],[11,"ge","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"from_data","","Creates a new wallet address from raw data.",2,null],[11,"get_raw","","Returns the wallet address bytes.",2,null],[11,"from","","",2,null],[11,"from_str","","",2,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"description","","",3,null],[11,"cause","","",3,null],[17,"CURRENCY_SYMBOL","fractal_utils","The symbol of Fractal Global Credits",null,null]],"paths":[[3,"Amount"],[3,"AmountParseError"],[3,"WalletAddress"],[3,"WalletAddressParseError"]]}; initSearch(searchIndex);