pub fn parse_get_schema_response(get_schema_response: &str) -> Box<dyn Future<Item=(String, String), Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();

    let err = _parse_get_schema_response(command_handle, get_schema_response, cb);

    ResultHandler::str_str(command_handle, err, receiver)
}
/// Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API.
///
/// # Arguments
/// * `get_schema_response` - response of GET_SCHEMA request.
///
/// # Returns
/// Schema Id and Schema json.
/// {
///     id: identifier of schema
///     attrNames: array of attribute name strings
///     name: Schema's name string
///     version: Schema's version string
///     ver: Version of the Schema json
/// }
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API.
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API .
pub fn parse_get_schema_response(get_schema_response: &str) -> Box<dyn Future<Item=(String, String), Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();
    let err = _parse_get_schema_response(command_handle, get_schema_response, cb);
    ResultHandler::str_str(command_handle, err, receiver)
}
pub fn parse_get_schema_response ( get_schema_response : & str ) -> Box < dyn Future < Item = ( String , String ) , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string_string ( ) ; let err = _parse_get_schema_response ( command_handle , get_schema_response , cb ) ; ResultHandler :: str_str ( command_handle , err , receiver ) }
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API.
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API .
get_schema_response
&str
Schema Id and Schema json.
{
id: identifier of schema
attrNames: array of attribute name strings
name: Schema's name string
version: Schema's version string
ver: Version of the Schema json
}
Schema Id and Schema json . { id : identifier of schema attrNames : array of attribute name strings name : Schema ' s name string version : Schema ' s version string ver : Version of the Schema json }
get_schema_response
&str