pub fn match_message(expected: models::message::Message, actual: models::message::Message) -> Vec<Mismatch> {
    let mut mismatches = vec![];

    info!("comparing to expected message: {:?}", expected);
    match_message_contents(&expected, &actual, DiffConfig::AllowUnexpectedKeys, &mut mismatches, &expected.matching_rules);

    mismatches
}
/// Matches the actual and expected messages.
Matches the actual and expected messages.
Matches the actual and expected messages .
pub fn match_message(expected: models::message::Message, actual: models::message::Message) -> Vec<Mismatch> {
    let mut mismatches = vec![];
    info!("comparing to expected message: {:?}", expected);
    match_message_contents(&expected, &actual, DiffConfig::AllowUnexpectedKeys, &mut mismatches, &expected.matching_rules);
    mismatches
}
pub fn match_message ( expected : models :: message :: Message , actual : models :: message :: Message ) -> Vec < Mismatch > { let mut mismatches = vec ! [ ] ; info ! ( " " expected ) ; match_message_contents ( & expected , & actual , DiffConfig :: AllowUnexpectedKeys , & mut mismatches , & expected . matching_rules ) ; mismatches }
Matches the actual and expected messages.
Matches the actual and expected messages .
expected
models::message::Message
actual
models::message::Message
expected
models::message::Message
actual
models::message::Message