[][src]Function indyrs::wallet::get_wallet_record

pub fn get_wallet_record(
    wallet_handle: IndyHandle,
    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 collections
  • id - the id of record
  • options_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 }