pub fn build_get_revoc_reg_def_request(submitter_did: Option<&str>, id: &str) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

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

    ResultHandler::str(command_handle, 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` - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `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: Option<&str>, id: &str) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_get_revoc_reg_def_request(command_handle, submitter_did, id, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_revoc_reg_def_request ( submitter_did : Option < & str > , id : & str ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_get_revoc_reg_def_request ( command_handle , submitter_did , id , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_REVOC_REG_DEF request.
Builds a GET_REVOC_REG_DEF request .
submitter_did
Option<&str>
id
&str
Request result as json.
Request result as json .
submitter_did
Option<&str>
id
&str