[−][src]Function indyrs::wallet::get_wallet_record
pub fn get_wallet_record(
wallet_handle: WalletHandle,
xtype: &str,
id: &str,
options_json: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Get an wallet record by id
Arguments
wallet_handle
- wallet handle (created by open_wallet)xtype
- allows to separate different record types collectionsid
- the id of recordoptions_json
- //TODO: FIXME: Think about replacing by bitmaks { retrieveType: (optional, false by default) Retrieve record type, retrieveValue: (optional, true by default) Retrieve record value, retrieveTags: (optional, false by default) Retrieve record tags }
Returns
wallet record json
- { id: "Some id", type: "Some type", // present only if retrieveType set to true value: "Some value", // present only if retrieveValue set to true tags:, // present only if retrieveTags set to true }