From b10ee897758caaae783c89593404427c7d8fb418 Mon Sep 17 00:00:00 2001 From: Edu4rdSHL Date: Thu, 17 Mar 2022 16:17:22 -0500 Subject: [PATCH] Add additional fields. Signed-off-by: Edu4rdSHL --- src/structs.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structs.rs b/src/structs.rs index 6b53636..170b3a0 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -6,7 +6,7 @@ pub struct HTTPFilters { pub bad_lines_numbers: Vec, } -#[derive(Clone, Default)] +#[derive(Clone, Debug, Eq, PartialEq, Hash, Default)] pub struct HttpData { pub http_status: String, pub status_code: u16, @@ -21,4 +21,6 @@ pub struct HttpData { pub words_count: usize, pub lines: usize, pub bad_data: HTTPFilters, + pub html_file_path: String, + pub screenshot_data: Vec, }