/// Builds a GET_SCHEMA request. Request to get Credential's Schema.
///
/// # Arguments
/// * `submitter_did` - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `id` - Schema ID in ledger
///
/// # Returns
/// Request result as json.
Builds a GET_SCHEMA request. Request to get Credential's Schema.
Builds a GET_SCHEMA request . Request to get Credential ' s Schema .
pub fn build_get_schema_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_schema_request(command_handle, submitter_did, id, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_schema_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_schema_request ( command_handle , submitter_did , id , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_SCHEMA request.
Builds a GET_SCHEMA request .
Request result as json.
Request result as json .
submitter_did
Option<&str>
id
&str