pub fn build_get_attrib_request_timeout(submitter_did: &str, target_did: &str, raw: Option<&str>, hash: Option<&str>, enc: Option<&str>, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_get_attrib_request(command_handle, submitter_did, target_did, raw, hash, enc, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// 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.
/// * `timeout` - the maximum time this function waits for a response
///
/// # 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_timeout(submitter_did: &str, target_did: &str, raw: Option<&str>, hash: Option<&str>, enc: Option<&str>, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_attrib_request(command_handle, submitter_did, target_did, raw, hash, enc, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn build_get_attrib_request_timeout ( submitter_did : & str , target_did : & str , raw : Option < & str > , hash : Option < & str > , enc : Option < & str > , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_attrib_request ( command_handle , submitter_did , target_did , raw , hash , enc , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Builds a GET_ATTRIB request.
Builds a GET_ATTRIB request .
Request result as json.
Request result as json .
submitter_did
&str
target_did
&str
raw
Option<&str>
hash
Option<&str>
enc
Option<&str>
timeout
Duration