[][src]Function indyrs::did::set_did_metadata

pub fn set_did_metadata(
    wallet_handle: IndyHandle,
    tgt_did: &str,
    metadata: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>

Saves/replaces the meta information for the giving DID in the wallet.

Arguments

  • wallet_handle - Wallet handle (created by Wallet::open).
  • did - the DID to store metadata.
  • metadata - the meta information that will be store with the DID.