pub fn build_get_cred_def_request_async<F: 'static>(submitter_did: &str, id: &str, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));

        Ledger::_build_get_cred_def_request(command_handle, submitter_did, id, cb)
    }
/// Builds a GET_CRED_DEF request. Request to get a Credential Definition (in particular, public key),
/// that Issuer creates for a particular Credential Schema.
///
/// # Arguments
/// * `submitter_did` - DID of the read request sender.
/// * `id` - Credential Definition ID in ledger.
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
Builds a GET_CRED_DEF request. Request to get a Credential Definition (in particular, public key),
that Issuer creates for a particular Credential Schema.
Builds a GET_CRED_DEF request . Request to get a Credential Definition ( in particular public key ) that Issuer creates for a particular Credential Schema .
pub fn build_get_cred_def_request_async<F: 'static>(submitter_did: &str, id: &str, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));
        Ledger::_build_get_cred_def_request(command_handle, submitter_did, id, cb)
    }
pub fn build_get_cred_def_request_async < F : ' static > ( submitter_did : & str , id : & str , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string ( Box :: new ( closure ) ) ; Ledger :: _build_get_cred_def_request ( command_handle , submitter_did , id , cb ) }
Builds a GET_CRED_DEF request.
Builds a GET_CRED_DEF request .
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
submitter_did
&str
id
&str
closure
F