[−][src]Function indyrs::ledger::parse_get_schema_response
pub fn parse_get_schema_response(
get_schema_response: &str
) -> Box<dyn Future<Item = (String, String), Error = IndyError>>
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 }