From ab6b4986cefb441afdb744d48f41691558dc8836 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Tue, 21 Apr 2020 13:24:25 +0530 Subject: [PATCH] rust: Add Debug and PartialEq to AppLayerResult --- rust/src/applayer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/applayer.rs b/rust/src/applayer.rs index c4e7c2e8aa..e96688e560 100644 --- a/rust/src/applayer.rs +++ b/rust/src/applayer.rs @@ -25,6 +25,7 @@ use crate::applayer; use std::os::raw::{c_void,c_char,c_int}; #[repr(C)] +#[derive(Debug,PartialEq)] pub struct AppLayerResult { pub status: i32, pub consumed: u32,