[−][src]Function indyrs::wallet::update_wallet_record_tags
pub fn update_wallet_record_tags(
wallet_handle: WalletHandle,
xtype: &str,
id: &str,
tags_json: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>
Update a non-secret wallet record tags
Arguments
wallet_handle
- wallet handle (created by open_wallet)xtype
- allows to separate different record types collectionsid
- the id of recordtags_json
- the record tags used for search and storing meta information as json: { "tagName1":, // string tag (will be stored encrypted) "tagName2": , // string tag (will be stored encrypted) "~tagName3": , // string tag (will be stored un-encrypted) "~tagName4": , // string tag (will be stored un-encrypted) } If tag name starts with "~" the tag will be stored un-encrypted that will allow usage of this tag in complex search queries (comparison, predicates) Encrypted tags can be searched only for exact matching