pub fn build_ledgers_freeze_request(submitter_did: &str, ledgers_ids: Vec<u64>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let json_ledgers_ids: &str = &json!(ledgers_ids).to_string();
    let err = _build_ledgers_freeze_request(command_handle, submitter_did, json_ledgers_ids, cb);
    ResultHandler::str(command_handle, err, receiver)
}
/// Request to freeze list of ledgers.
///
/// # Arguments
/// * `command_handle`: command handle to map callback to caller context.
/// * `submitter_did`: (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `ledgers_ids`: list of ledgers IDs for freezing.
/// * `cb`: Callback that takes command result as parameter.
///
/// # Returns
/// Updated request result as json.
Request to freeze list of ledgers.
Request to freeze list of ledgers .
pub fn build_ledgers_freeze_request(submitter_did: &str, ledgers_ids: Vec<u64>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let json_ledgers_ids: &str = &json!(ledgers_ids).to_string();
    let err = _build_ledgers_freeze_request(command_handle, submitter_did, json_ledgers_ids, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_ledgers_freeze_request ( submitter_did : & str , ledgers_ids : Vec < u64 > ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let json_ledgers_ids : & str = & json ! ( ledgers_ids ) . to_string ( ) ; let err = _build_ledgers_freeze_request ( command_handle , submitter_did , json_ledgers_ids , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Request to freeze list of ledgers.
Request to freeze list of ledgers .
submitter_did
&str
ledgers_ids
Vec<u64>
Updated request result as json.
Updated request result as json .
submitter_did
&str
ledgers_ids
Vec<u64>