Type Definition libindy_sys::indyWalletAddRecordTagsCb[][src]

type indyWalletAddRecordTagsCb = Option<unsafe extern "C" fn(handle: indy_handle_t, type_: *const c_char, id: *const c_char, tags_json: *const c_char) -> indy_error_t>;

Add new tags to the record

#Params storage_handle: opened storage handle (See open handler) type_: allows to separate different record types collections id: the id of record tags_json: the additional record tags as json: { "tagName1": "tag value 1", // string value "tagName2": 123, // numeric value, ... } Note that null means no tags Note if some from provided tags already assigned to the record than corresponding tags values will be replaced