pub fn build_get_revoc_reg_def_request(submitter_did: &str, id: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_get_revoc_reg_def_request(command_handle, submitter_did, id, cb);

        ResultHandler::one(err, receiver)
    }
/// Builds a GET_REVOC_REG_DEF request. Request to get a revocation registry definition,
/// that Issuer creates for a particular Credential Definition.
///
/// # Arguments
/// * `submitter_did` - DID of the read request sender.
/// * `id` -  ID of Revocation Registry Definition in ledger.
///
/// # Returns
/// Request result as json.
Builds a GET_REVOC_REG_DEF request. Request to get a revocation registry definition,
that Issuer creates for a particular Credential Definition.
Builds a GET_REVOC_REG_DEF request . Request to get a revocation registry definition that Issuer creates for a particular Credential Definition .
pub fn build_get_revoc_reg_def_request(submitter_did: &str, id: &str) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_revoc_reg_def_request(command_handle, submitter_did, id, cb);
        ResultHandler::one(err, receiver)
    }
pub fn build_get_revoc_reg_def_request ( submitter_did : & str , id : & str ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_revoc_reg_def_request ( command_handle , submitter_did , id , cb ) ; ResultHandler :: one ( err , receiver ) }
Builds a GET_REVOC_REG_DEF request.
Builds a GET_REVOC_REG_DEF request .
Request result as json.
Request result as json .
submitter_did
&str
id
&str