/// Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID.
///
/// # Arguments
/// * `submitter_did` - DID of the read request sender.
/// * `target_did` - Target DID as base58-encoded string for 16 or 32 bit DID value.
/// * `raw` - (Optional) Requested attribute name.
/// * `hash` - (Optional) Requested attribute hash.
/// * `enc` - (Optional) Requested attribute encrypted value.
///
/// # Returns
/// Request result as json.
Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID.
Builds a GET_ATTRIB request . Request to get information about an Attribute for the specified DID .
pub fn build_get_attrib_request(submitter_did: Option<&str>, target_did: &str, raw: Option<&str>, hash: Option<&str>, enc: Option<&str>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_get_attrib_request(command_handle, submitter_did, target_did, raw, hash, enc, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_attrib_request ( submitter_did : Option < & str > , target_did : & str , raw : Option < & str > , hash : Option < & str > , enc : Option < & str > ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_get_attrib_request ( command_handle , submitter_did , target_did , raw , hash , enc , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_ATTRIB request.
Builds a GET_ATTRIB request .
Request result as json.
Request result as json .
submitter_did
Option<&str>
target_did
&str
raw
Option<&str>
hash
Option<&str>
enc
Option<&str>