Function pact_ffi::models::message_pact::pactffi_message_pact_get_consumer
source · #[no_mangle]
pub extern "C" fn pactffi_message_pact_get_consumer(
message_pact: *mut MessagePact
) -> *mut Consumer
Expand description
Get a pointer to the Consumer struct inside the MessagePact. This is a mutable borrow: The caller may mutate the Consumer through this pointer.
§Safety
This function is safe.
§Error Handling
This function will only fail if it is passed a NULL pointer. In the case of error, a NULL pointer will be returned.