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

    let err = _build_get_revoc_reg_request(command_handle, submitter_did, revoc_reg_def_id, timestamp, cb);

    ResultHandler::str(command_handle, err, receiver)
}
/// Builds a GET_REVOC_REG request. Request to get the accumulated state of the Revocation Registry
/// by ID. The state is defined by the given timestamp.
///
/// # Arguments
/// * `submitter_did` - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `revoc_reg_def_id` -  ID of the corresponding Revocation Registry Definition in ledger.
/// * `timestamp` - Requested time represented as a total number of seconds from Unix Epoch
///
/// # Returns
/// Request result as json.
Builds a GET_REVOC_REG request. Request to get the accumulated state of the Revocation Registry
by ID. The state is defined by the given timestamp.
Builds a GET_REVOC_REG request . Request to get the accumulated state of the Revocation Registry by ID . The state is defined by the given timestamp .
pub fn build_get_revoc_reg_request(submitter_did: Option<&str>, revoc_reg_def_id: &str, timestamp: i64) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_get_revoc_reg_request(command_handle, submitter_did, revoc_reg_def_id, timestamp, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_revoc_reg_request ( submitter_did : Option < & str > , revoc_reg_def_id : & str , timestamp : i64 ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_get_revoc_reg_request ( command_handle , submitter_did , revoc_reg_def_id , timestamp , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_REVOC_REG request.
Builds a GET_REVOC_REG request .
submitter_did
Option<&str>
revoc_reg_def_id
&str
timestamp
i64
Request result as json.
Request result as json .
submitter_did
Option<&str>
revoc_reg_def_id
&str
timestamp
i64