[][src]Function pact_matching::match_body_result

pub fn match_body_result(
    expected: &dyn HttpPart,
    actual: &dyn HttpPart,
    config: DiffConfig,
    matchers: &MatchingRules
) -> BodyMatchResult

Matches the actual body to the expected one. This takes into account the content type of each.