Function pact_matching_ffi::models::message_pact::message_pact_get_provider[][src]

#[no_mangle]
pub extern "C" fn message_pact_get_provider(
    message_pact: *mut MessagePact
) -> *mut Provider
Expand description

Get a pointer to the Provider struct inside the MessagePact. This is a mutable borrow: The caller may mutate the Provider 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.