Type Alias indyParseResponseWithFeesCB

Source
pub type indyParseResponseWithFeesCB = Option<unsafe extern "C" fn(command_handle: indy_handle_t, resp_json: *const c_char, cb: indy_err_str_cb) -> indy_error_t>;
Expand description

Parses response for Indy request with fees.

#Params command_handle: command handle to map callback to context resp_json: response for Indy request with fees

#Returns receipts_json - parsed (payment method and node version agnostic) receipts info as json: [{ receipt: , // receipt that can be used for payment referencing and verification recipient: , //payment address for this recipient amount: , // amount extra: , // optional data from payment transaction }]

Aliased Type§

pub enum indyParseResponseWithFeesCB {
    None,
    Some(unsafe extern "C" fn(i32, *const i8, Option<unsafe extern "C" fn(i32, i32, *const i8) -> i32>) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, *const i8, Option<unsafe extern "C" fn(i32, i32, *const i8) -> i32>) -> i32)

Some value of type T.