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

    let err = _build_schema_request(command_handle, submitter_did, data, cb);

    ResultHandler::str(command_handle, err, receiver)
}
/// Builds a SCHEMA request. Request to add Credential's schema.
///
/// # Arguments
/// * `submitter_did` - Identifier (DID) of the transaction author as base58-encoded string.
///                Actual request sender may differ if Endorser is used (look at `append_request_endorser`)
/// * `data` - Credential schema.
/// {
///     id: identifier of schema
///     attrNames: array of attribute name strings (the number of attributes should be less or equal than 125)
///     name: Schema's name string
///     version: Schema's version string,
///     ver: Version of the Schema json
/// }
///
/// # Returns
/// Request result as json.
Builds a SCHEMA request. Request to add Credential's schema.
Builds a SCHEMA request . Request to add Credential ' s schema .
pub fn build_schema_request(submitter_did: &str, data: &str) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_schema_request(command_handle, submitter_did, data, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_schema_request ( submitter_did : & str , data : & str ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_schema_request ( command_handle , submitter_did , data , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a SCHEMA request.
Builds a SCHEMA request .
submitter_did
&str
data
&str
Request result as json.
Request result as json .
submitter_did
&str
data
&str